Class AddRigidbody
Add a rigidbody component to each elements in the input
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.RuleEngine
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class AddRigidbody : ActionInOut<IList<GameObject>, IList<GameObject>>
Fields
Name | Description |
---|---|
angularDrag | The angularDrag applie to the new rigidbody |
collisionDetection | Set the collision mode used byt he new rigidbody |
drag | The drag applied to the new rigidbody |
interpolate | Set the mode of interpolation used by the new rigidbody |
isKinematic | Set if the new rigidbody is kinematic |
mass | The mass applied to the new rigidbody |
useGravity | Set if the new rigidbody should use gravity |
Properties
Name | Description |
---|---|
id | Unique id of this action, generated when the file is generated |
menuPathRuleEngine | The path used for the contextual menu in the RuleEngine |
menuPathToolbox | The path used for the contextual menu in the Toolbox |
tooltip | Quick description to describe the behavior of this action |
Methods
Name | Description |
---|---|
run(IList<GameObject>) | Execute the behavior of this action by adding a rigidbody set by all parameters from the user to each elements of the input |