Difference between revisions of "Physics Global"
From Virtual World Web Wiki
(Documentation for the Physics Global class) |
(Documentation for the Physics Global class) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The Physics JavaScript global object is available from server world scripts and provides methods for launching physics operations | The Physics JavaScript global object is available from server world scripts and provides methods for launching physics operations | ||
− | + | * This is a JavaScript global object named '''Physics''' | |
− | * This is a JavaScript global object named 'Physics' | + | |
===Remarks <nowiki>[</nowiki>[{{fullurl:Physics Global Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:Physics Global Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
− | {{:Physics Global Remarks}} | + | {{#ifexist:Physics Global Remarks|{{:Physics Global Remarks}}|}} |
===Methods=== | ===Methods=== | ||
− | |||
− | |||
− | |||
− | |||
:{{CSharp|void FireProjectile(DOMTransformExtended projectileBase, JSVector3 origin, JSVector3 direction, float speed, float maxdistance {{=}} 250.0, bool useGravity {{=}} true)}} | :{{CSharp|void FireProjectile(DOMTransformExtended projectileBase, JSVector3 origin, JSVector3 direction, float speed, float maxdistance {{=}} 250.0, bool useGravity {{=}} true)}} | ||
− | |||
− | |||
− | |||
− | |||
:: | :: | ||
::Ask patrick | ::Ask patrick | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Latest revision as of 19:53, 8 June 2020
The Physics JavaScript global object is available from server world scripts and provides methods for launching physics operations
- This is a JavaScript global object named Physics
Remarks [edit]
Methods
- void FireProjectile(DOMTransformExtended projectileBase, JSVector3 origin, JSVector3 direction, float speed, float maxdistance = 250.0, bool useGravity = true)
- Ask patrick