DOMPhysicsExtended

From Virtual World Web Wiki
Revision as of 12:40, 6 September 2017 by Spark5 (Talk | contribs) (Documentation for the DOMPhysicsExtended class)

Jump to: navigation, search

Represents a DOMPhysics in JavaScript

Remarks [edit]

Properties

DOMPhysicsCommands Command {get; set;} // Via attribution on DOMPhysics
The type of physics operation requested.
bool Completed {get; set;} // Via attribution on DOMPhysics
True if the operation has been completed

Events

OnComplete(DOMPhysicsExtended obj)
Parameters:
obj : This object
Fires when the physics host says the physics operation represented by this object has been completed.

Methods

void Start()
Asks the physics host to start carrying out the physics operation represented by this object.
void Stop()
Asks the physics host to stop carrying out the physics operation represented by this object.