This shows you the differences between two versions of the page.
collision_object [2017/05/04 10:18] |
collision_object [2021/04/27 09:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Collision Object====== | ||
+ | {{ :: | ||
+ | Collision objects don't have an impact within the SpeedTree Modeler, but they can be queried through the SpeedTree SDK for use in real-time. Collision objects are used for detecting collisions with players, projectiles, | ||
+ | =====Collision Object==== | ||
+ | ==Type== | ||
+ | Sets the shape of this Collision Object to //Sphere// or // | ||
+ | |||
+ | ==Radius== | ||
+ | Sets the radius of the sphere or the radius of the ends of the capsule. | ||
+ | |||
+ | ==Height== | ||
+ | When the Collision Object is a capsule, this property sets the height. | ||
+ | |||
+ | ==User data== | ||
+ | If the Collision Object needs additional specific data, enter it as a string here. You can include information for what sound to play, what kind of particles to emit, etc. | ||
+ | |||
+ | =====Transform===== | ||
+ | |||
+ | Moving and rotating the Collision Object is usually easier by using the transform gizmo in the [[tooltree_window|Tree Window]], but you can set the values explicitly too. | ||
+ | |||
+ | ====Translation==== | ||
+ | ==X/Y/Z== | ||
+ | Sets the location of the Collision Object. | ||
+ | |||
+ | ==Reset Translation== | ||
+ | Resets the location to the origin (0,0,0). | ||
+ | |||
+ | ====Rotation==== | ||
+ | ==Axis X/Y/Z== | ||
+ | Determines the axis about which to rotate. | ||
+ | |||
+ | ==Angle== | ||
+ | Sets the angle to rotate around the axis. | ||
+ | |||
+ | ==Reset rotation== | ||
+ | Resets the rotation to default (1,0,0,0). |