Introduced
1.0
Description
Creates a particle force object.
Scripting Syntax
CreateForce( [Name], [InputObjs] )
Parameters
|
Parameter |
Type |
Description |
|
Name |
Name of force object. Default Value: "Gravity" |
|
|
InputObjs |
List of objects. Default Value: Selected objects |
Return Value
Returns the force object.
Examples
JScript Example
/* This example demonstrates how to add a force to a simulation */ NewScene( null, false ); CreatePrim( "Cone", "MeshSurface" ); CreateActiveRigidBody( "cone" ); CreatePrim( "Cylinder", "MeshSurface" ); Translate( null, -6.41985129361203, 0, 0, siRelative, siView, siObj, siXYZ, null, null, null, null, null, null, null, null, null, 0 ); CreateEnvironment(); CreateActiveRigidBody( "cylinder" ); CreateForce( "Gravity" ); PlayforwardsFromStart();
See Also
|
|
|
|
SOFTIMAGE|XSI v6.01