base class — bpy_struct
Self-contained rigid body simulation environment and settings
Type: | EffectorWeights, (readonly) |
---|
Simulation will be evaluated
Type: | boolean, default False |
---|
Type: | PointCache, (readonly, never None) |
---|
Number of constraint solver iterations made per simulation step (higher values are more accurate but slower)
Type: | int in [1, 1000], default 10 |
---|
Number of simulation steps taken per second (higher values are more accurate but slower)
Type: | int in [1, 32767], default 60 |
---|
Change the speed of the simulation
Type: | float in [0, 100], default 1.0 |
---|
Reduce extra velocity that can build up when objects collide (lowers simulation stability a little so use only when necessary)
Type: | boolean, default False |
---|
Sweep test convex rigidbody against the current rigidbody world
Parameters: | object (Object, (never None)) – Rigidbody object with a convex collision shape |
---|---|
Return (object_location, hitpoint, normal, has_hit): | |
object_location, The hit location of this sweep test, float array of 3 items in [-inf, inf] hitpoint, The hit location of this sweep test, float array of 3 items in [-inf, inf] normal, The face normal at the sweep test hit location, float array of 3 items in [-inf, inf] has_hit, If the function has found collision point, value is 1, otherwise 0, int in [-inf, inf] |
Inherited Properties
Inherited Functions
References