Crowd Rigid Body
- Golaem Shelf:
- Golaem Menu: Crowd Rigid Body
- MEL command: glmCrowdRigidBodyCmd;
If a DAG Object is selected when the Crowd Rigid Body is created, it will automatically use this DAG object as source of the In Transform attribute. If several objects are selected, only the first selected object is used.
|In Transform||A Maya DAG object which gives the position / orientation / scale of the collider. If none are specified, the position / orientation /scale of the Crowd Rigid Body will be defined by its transform. Notice that only the position and the orientation of the Crowd Rigid Body can be animated (the scale value is only read at the scene initialization)|
|Set Initial State||
This button allows to record the initial state of the Rigid Body. The initial state of the rigid body is the position/orientation at which it will be put when the simulation starts.
Even when the Rigid Body is intended to be used without a Maya object, the In Transform plug should be connected to another Maya object (at least a locator). The Rigid Body transforms won't be used directly.
Rigid Body Attributes
|Use Mass Or Density / Mass / Density||Mass or the density|
|Static Friction||Friction when the Rigid Body is at rest|
|Dynamic Friction||Friction when the Rigid Body is in motion|
The Simulation Type attribute can be keyframed to change the physics mode during simulation.
Note that if the Rigid Body is linked to a Mesh with the In Transform plug, these values are automatically linked to the source object properties (size if it's a polyCube, radius and height if it's a polySphere or a polyCylinder, mesh vertices if it's a mesh, and color if it's any of these)
|Shape Type||Collision shape type, can be Box, Sphere, Capsule, Convex Hull or Triangle Mesh.|
|Size||If the Shape Type is set to Box, it specifies the length, width and height of the shape|
|Radius||If the Shape Type is set to Sphere or Capsule, it specifies the radius of the shape|
|Height||If the Shape Type is set to Capsule, it specifies the height of the shape|
|Inflate||Inflate the shape|
If the selected shape is set to the Triangle Mesh, the collision trigger part will work with the Convex Hull.
Physics Collision Attributes
|Collision Id||Id that is used by the Physics Collision triggers to filter collisions on rigid bodies|
|Collision Color||Color that is used by the Physics Collision triggers to filter collisions on rigid bodies|
The Id and Color attributes can both be keyframed to change value during simulation.
The color is automatically linked to the object's material color if it exists.