Part¶
Object ยท 3D
A physical 3D primitive block, sphere, cylinder, cone, or wedge.
Components¶
A new Part starts with these components.
| Component | About |
|---|---|
| Position | World position in units |
| Rotation | Orientation quaternion, edited as YXZ Euler degrees |
| Size | Entity dimensions in units |
| Shape | Entity shape identity as a value |
| Mesh | |
| RenderDisabled | No render slot; physics, replication, and raycasts untouched |
| Color | |
| Transparency | |
| PbrMaterial | Per-mesh PBR texture overrides; a zero slot means no override |
| UvTransform | Moves, repeats and turns the textures an entity samples through its mesh UVs, and the image of a Decal. Triplanar and stud materials ignore it |
| ShadowOff | No shadow from this entity; the shadow passes skip it |
| Body | |
PhysicalSurfaceOverride |
|
| AeroSurface | Lift and drag from the air flowing past the entity; the chord runs along -Z, the lift side is +Y |
| Collider | |
| Velocity | Linear velocity in units/s |
| LocalSpin | Parent-relative angular velocity in deg/s in the offset parent's frame |
| CollisionGroup | Membership in a named collision group; absent means group 0 |
| Climbable | Characters that walk into this entity climb it, as they climb a truss |
| Weld | Rigid weld to another entity; the weld system creates the joint and removes this component when the joint breaks |
| WeldBreak | Reaction force or torque that breaks the weld on this entity; the weld system removes the Weld component past either |
| HingeJoint | Groups two rigid bodies together, constraining them to move like connected by a hinge |
| WheelJoint | Hangs a wheel from a chassis on a spring, so it spins, bounces and steers |
| RopeJoint | Keeps the connected object no further than Distance away; it can move closer |
| SwingTwistJoint | Swing-twist joint limit between this entity's body and its target (or ECS parent for rig limbs) |
| Tire | Makes this entity a wheel whose grip peaks at a small slip and falls as it spins, locks or slides; it rolls about its WheelJoint axle or local Y axis |
| Suspension | Makes this entity a wheel of its target entity: a ray from the Suspension Hardpoint finds the ground, and a spring and damper push the target up there |
| Attachment | |
| Timer | A countdown timer; it fires Timeout when it reaches the end of its Wait Time |
| TimerAutostart | The timer starts when the entity enters the world |
| TimerOneShot | The timer stops after reaching the end; without the component it restarts |
| TimerPaused | The timer does not count down while it is paused |