Difference between revisions of "DOMPhysicsSpawnAt"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMPhysicsSpawnAt class)
 
(Documentation for the DOMPhysicsSpawnAt class)
 
Line 10: Line 10:
 
::
 
::
 
::The angle around the target at which the object should spawn
 
::The angle around the target at which the object should spawn
 +
 +
:{{CSharp|float Range {get; set;} }}
 +
::
 +
::How many degrees around the initial spawn angle can we vary in our placement
  
 
===Constructors===
 
===Constructors===

Latest revision as of 17:03, 26 January 2018

Represents a physics command in the DOM that will cause the parent transform be placed, on the ground, near it's current position or that of a target, and enabled.

  • Inherits class: DOMPhysicsSpawn
  • This is a leaf node type. This node type cannot have children.

Remarks [edit]

Properties

float Angle {get; set;}
The angle around the target at which the object should spawn
float Range {get; set;}
How many degrees around the initial spawn angle can we vary in our placement

Constructors

DOMPhysicsSpawnAt()
Constructs a new DOMPhysicsSpawnAt node with default settings
DOMPhysicsSpawnAt(string title)
Constructs a new DOMPhysicsSpawnAt node, setting a title at the same time