DOMPhysicsExtended

From Virtual World Web Wiki
Jump to: navigation, search

Represents a DOMPhysics in JavaScript

Remarks [edit]

Properties

bool Completed {get; set;} // Via attribution on DOMPhysics
True if the operation has been completed

Methods

DOMPhysicsExtended OnComplete(JSFlexibleFunction callback)
Allows you to bind a callback to this physics commands OnComplete event. Your callback will receive the following parameters:
succeeded - The Actor entering the stare
This method returns the DOMPhysicsExtended object again so you can chain configuration calls
DOMPhysicsExtended Start()
Asks the physics host to start carrying out the physics operation represented by this object.
DOMPhysicsExtended Stop()
Asks the physics host to stop carrying out the physics operation represented by this object.