setHasCollisionPhysics
setHasCollisionPhyics
<0 or 1>
Sets the object to use it's collision mesh to collide with other
objects or projectiles.
Example:
ObjectTemplate.create SimpleObject
citymesh1fence_m1
ObjectTemplate.geometry citymesh1fence_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addToCollisionGroup c_CGProjectiles
Valid object
types
PlayerControlObject
- Object that can be taken over and occupied by players (vehicles
and stationary weapons). RotationalBundle
- Object that can pivot based on user input SimpleObject
- Basic 1 part object with no children
|