RigidBody
Joint nodes
See Joint.
Add Force
Adds a force to a Rigidbody. For more information, refer to the Rigidbody.AddForce page in the Unity documentation.
Inputs:
Enter
Flow
Flow to activate the node.
Rigidbody In
Rigidbody
Reference to the Rigidbody.
World Space
Boolean [editable]
If true, the force direction is applied in world space. If false, the force direction is applied in local space.
Force In
Vector3 [editable]
The force to apply.
Parameters:
Force Mode
List [editable]
Outputs:
Exit
Flow
Continue the activating flow.
Add Force at Position
Applies a force at a position. For more information, refer to the Rigidbody.AddForceAtPosition page in the Unity documentation.
Inputs:
Enter
Flow
Flow to activate the node.
Rigidbody In
Rigidbody
Reference to the Rigidbody.
Force
Vector3 [editable]
Force vector.
Pos
Vector3 [editable]
The position at which to apply the force.
Parameters:
Force Mode
List [editable]
Outputs:
Exit
Flow
Continue the activating flow.
Add Torque
Adds a torque to the rigidbody. For more information, refer to the Rigidbody.AddTorque page in the Unity documentation.
Inputs:
Enter
Flow
Flow to activate the node.
Rigidbody In
Rigidbody
Reference to the Rigidbody.
World Space
Boolean [editable]
If true, the force direction is applied in world space. If false, the force direction is applied in local space.
Force In
Vector3 [editable]
The force to apply.
Parameters:
Force Mode
List [editable]
Outputs:
Exit
Flow
Continue the activating flow.
Rigidbody Info
Access information about a Rigidbody. For more information, refer to the Rigidbody page in the Unity documentation.
Inputs:
Rigidbody In
Rigidbody
Reference to the Rigidbody.
Outputs:
Use Gravity Out
Boolean
Controls whether gravity affects this Rigidbody.
Is Kinematic Out
Boolean
Controls whether physics affects the Rigidbody.
Freeze Rotation Out
Boolean
Controls whether physics will change the rotation of the object.
Is Sleeping Out
Boolean
Is the Rigidbody sleeping?
Mass Out
Float
The mass of the Rigidbody.
Drag Out
Float
The drag of the object.
Angular Drag Out
Float
The angular drag of the object.
Center of Mass Out
Vector3
The center of mass relative to the transform's origin.
World Center of Mass Out
Vector3
The center of mass of the Rigidbody in world space.
Position Out
Vector3
The position of the Rigidbody.
Rotation Out
Quaternion
The rotation of the Rigidbody.
Velocity Out
Vector3
The velocity vector of the Rigidbody.
Angular Velocity Out
Vector3
The angular velocity vector of the Rigidbody measured in radians per second.
Speed
Float
The speed of the Rigidbody.
Set value nodes
There are multiple nodes that you can use to set properties of an Rigidbody. For more information, refer to the Rigidbody page in the Unity documentation.
The set nodes for Rigidbody have a similar arrangement of inputs and outputs, as described in the following sections.
Inputs:
Enter
Flow
Flow to activate the node.
Rigidbody In
Rigidbody
Reference to a Rigidbody.
<property>
<varies> [editable]
The value to set for the chosen property.
Outputs:
Exit
Flow
Continue the activating flow.
Available nodes:
Set Move Position
Vector3 [editable]
Moves the kinematic Rigidbody towards position.
Move Rotation
Quaternion
Rotates the rigidbody to rotation.
Set Angular Drag
Float [editable]
Sets the angular drag.
Set Angular Velocity
Vector3 [editable]
Sets the angular velocity, measured in radians per second.
Set Center of Mass
Vector3 [editable]
Sets the center of mass.
Set Drag
Float [editable]
Sets the drag.
Set Freeze
[Paramter List]
Choose to freeze all, none, position, a specific position axis, rotation, or a specific rotation axis.
Set Kinematic
Boolean [editable]
Set whether physics affect the Rigidbody.
Set Mass
Float [editable]
Sets the mass of the Rigidbody.
Set Gravity
Boolean [editable]
Sets whether the Rigidbody is affected by gravity.
Set Velocity
Vector3 [editable]
Sets the velocity of the Rigidbody.
Last updated