Difference between revisions of "Phantom Objects"

From Second Life Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 4 users not shown)
Line 4: Line 4:


=== Functional Spec ===
=== Functional Spec ===
* An object can be made Phantom via the Edit tools or by script
* An [[object]] can be made [[phantom]] via the [[edit tool]]s or by [[script]]:
** Edit tool > Object > Phantom
** Edit tool > Object > Phantom
** Edit tool > Features > Flexible Path
** Edit tool > Features > Flexible Path
*** Flexible Objects are automatically made phantom.
*** [[Flexible]] objects are automatically made phantom.
** llSetStatus(STATUS_PHANTOM, TRUE)
** [[llSetStatus]]([[STATUS_PHANTOM]],[[TRUE]])
** llVolumeDetect
** [[llVolumeDetect]]
* Objects that are both Phantom and Physical will fall through other objects or avatars and will collide only with the ground.
* Objects that are both phantom and [[physical]] will fall through other objects or [[avatar]]s and will [[collide]] only with the [[ground]].
* Phantom objects cannot be sat upon.
* Phantom objects cannot be [[sat]] upon.
 
However, setting prims to phantom does '''not''' prevent objects being simulated by the physics engine.  Use [[Physics Optimization]] to do this.


Other things that appear to be phantom:
Other things that appear to be phantom:
* Objects that live on an adjacent region but hang over onto this region.
* Objects that live on an adjacent [[region]] but hang over onto this region.
* Attachments.
* [[Attachment]]s.
 
* Prims, sculpties and mesh using [[Physics Optimization]]


=== Test scripts ===
=== Test scripts ===
Line 23: Line 25:
[[llGetStatus test]]  
[[llGetStatus test]]  


[[llVolumeDetect]]
[[llVolumeDetect test]] - Can two llVolumeDetect objects detect each other?


[[Flexible Objects test]]
[[Flexible Objects test]]
Line 33: Line 35:
<b> List of features that need to be tested when this feature changes, and why. </b>
<b> List of features that need to be tested when this feature changes, and why. </b>


[[Physics test]] - The Physics test should ensure check that phantom objects are truly phantom.
[[Physics_Test]] - The Physics test should ensure check that phantom objects are truly phantom.


=== User Guides ===
=== User Guides ===

Latest revision as of 04:17, 10 December 2012

Feature Design Document

(none)

Functional Spec

However, setting prims to phantom does not prevent objects being simulated by the physics engine. Use Physics Optimization to do this.

Other things that appear to be phantom:

Test scripts

llSetStatus test

llGetStatus test

llVolumeDetect test - Can two llVolumeDetect objects detect each other?

Flexible Objects test

Discussion for future improvements

(none)

Relationship to other features

List of features that need to be tested when this feature changes, and why.

Physics_Test - The Physics test should ensure check that phantom objects are truly phantom.

User Guides

llSetStatus on LSLWiki.com

llGetStatus on LSLWiki.com

llVolumeDetect on LSLWiki.com