User Guide

506 Chapter 12: Methods
resetWorld
Usage
member(whichCastmember).resetWorld()
member(whichTextCastmember).resetWorld()
Description
3D command; resets the member’s properties of the referenced 3D cast member to the values
stored when the member was first loaded into memory. The member’s
state property must be
either 0 (unloaded), 4 (media loaded), or -1 (error) before this command can be used, otherwise a
script error will occur.
This command differs from
revertToWorldDefaults in that the values used are taken from the
state of the member when it was first loaded into memory rather than from the state of the
member when it was first created.
Parameters
None.
Example
This statement resets the properties of the cast member named Scene to the values they had when
the member was first loaded into memory:
member("Scene").resetWorld()
See also
revertToWorldDefaults
resolveA
Usage
collisionData.resolveA(bResolve)
Description
3D collision method; overrides the collision behavior set by the collision.resolve property for
collisionData.modelA. Call this function only if you wish to override the behavior set for
modelA using
collision.resolve.
Parameters
bResolve
Required. Specifies whether the collision for modelA is resolved. If bResolve is TRUE,
then the collision for the modelA is resolved; if
bResolve is FALSE the collision for modelA is
not resolved.
See also
collisionData, registerScript(), resolve, modelA, setCollisionCallback()