Object
Spawn a rigidbody object.
Node Data | |
|---|---|
Display name | |
Object | |
Internal name | |
Node_Rigid_Object | |
Inheritances | |
| Node_Rigid_Object | |
Inputs | |
Spawn | |
bool |
Spawn |
int |
Spawn Frame |
vec2 |
Spawn Position |
rotation |
Spawn Rotation |
bool |
Offset Atlas |
Velocity | |
bool |
Use Initial Velocity |
vec2 |
Initial Velocity |
Shape | |
surface |
Texture |
enum |
Shape |
trigger |
Generate Mesh |
slider |
Mesh Expansion |
bool |
Add Pixel For Empty |
Physics | |
int |
Collision Group |
bool |
Affect By Force |
float |
Mass |
slider |
Friction |
slider |
Air Resistance |
slider |
Rotation Resistance |
slider |
Bounciness |
float |
Gravity Scale |
Simulation | |
bool |
Continuous |
bool |
Fix Rotation |
bool |
Sleepable |
bool |
Activate On Spawn |
Outputs | |
rigid |
Object |
Create new Rigidbody object.
Properties
| Spawn | |
| Spawn | Make object spawn when start. |
| Spawn Frame | Frame to spawn if Spawn is off. |
| Spawn Position | Initial position. |
| Spawn Rotation | Initial angle. |
| Velocity | |
| Initial Velocity | Apply velocity on start. |
| Shape | |
| Shape | Collision shape. |
| Add Pixel For Empty | In custom mesh mode, whether to add 1x1 pixel for empty surface. |
| Physics | |
| Collision Group | Mark object to only collide object of the same group. |
| Affect By Force | Whether to have object affected by force (gravity, collsion) or static (for floor, wall). |
| Mass | Object mass. |
| Air Resistance | Slow object when falling. |
| Rotation Resistance | Add force for rotating object. |
| Gravity Scale | Set custom gravity effect. |
| Simulation | |
| Continuous | Calculate collision continuously. Can be used to prevent fast moving small object from clipping thorugh thin wall. |
| Fix Rotation | Force object to not rotate. |
| Sleepable | Allow object to stop receiving collision when stop. |
| Activate On Spawn | Activate object physics on spawn. |
Commit History
| 1.11.0 |
|
|---|