Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005487opensim[REGION] Physics Enginespublic2011-05-17 11:402019-02-25 07:26
ReporterWordfromtheWise 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005487: Physical Prims cannot be set Phantom
Description
In SL it is possible to set a Prim Physical and Phantom
which results in a Prim rezzed above ground falls down
and i can walk through it or i can move those physical
prims through each other.

-> On opensim (osgrid) this prim just stays up in the air
and can not be moved although the hand icon is visible.

And the prims can also not be moved by llMovetoTarget scripts
Steps To Reproduce
- Rezz 2 prims about 5 meters in the air
- Set one prim physical
-> Object falls to the ground
- Set the other Prim Phantom
- Set the same Prim to Physical
-> Objects keeps its place floating in the Air

i tested this with all viewers (Hippo / Imprudence / SL 1.23)
and on different opensim versions (0.6* and 0.7* up to latest DEV)..
Additional Information
this is different to the behaviour in Sl and is much needed
for all kind of moving things on the regions.

Moving prims around by script and not colliding with other prims
(and than stopping its movement) would be very usefull. Using
Script Hacks is not an option with e.g. random moving prims ..
TagsNo tags attached.
Git Revision or version numberall latest git revisions as far i could test
Run Mode Grid (1 Region per Sim)
Physics EngineODE
EnvironmentUnknown
Mono VersionNone
Viewerall viewers Hip/ IMP /SL)
Attached Files

- Relationships
has duplicate 0002815closed llMoveToTarget don't work on phantom prims 
has duplicate 0004683closed Phantom + Physical objects are static 

-  Notes
(0018923)
makopoppo (manager)
2011-07-16 01:06

From 0002815
-----
as written in the summary.

example code:

DOES NOT WORK:

default {
    state_entry() {
        llSetRot(<0,0,0,1>);
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSetStatus(STATUS_PHANTOM, TRUE);
        llSetBuoyancy(1);

        llMoveToTarget(llGetPos() + <5, 0, 0>, 1.0);
    }
}

WORKS WELL:

default {
    state_entry() {
        llSetRot(<0,0,0,1>);
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSetStatus(STATUS_PHANTOM, FALSE);
        llSetBuoyancy(1);

        llMoveToTarget(llGetPos() + <5, 0, 0>, 1.0);
    }
}


tx Oh
---
(0018925)
makopoppo (manager)
2011-07-16 01:08

Reminder sent to: thomax

0002815 was integrated into 0005487
(0018926)
makopoppo (manager)
2011-07-16 01:11

Reminder sent to: Jacek Antonelli

integrated 0004683 into this issue
----
Objects which are both Phantom and Physical don't behave physically. In other words, they don't fall from gravity, and they aren't affected by script functions such as llSetForce or llMoveToTarget. They are Phantom, though (I can walk through them). It seems as if they are completely removed from the physics simulation.

The expected behavior for Phantom + Physical objects is to behave physically, but not collide with anything. I use this for several of my projects in SL (kites, flying creatures, etc.), but they won't work in OpenSim until this issue is fixed. :\


How to reproduce:

1. Create a new prim and move it up a meter or so (so you could see it fall down).
2. Enable the Phantom and Physical checkboxes for the object.
3. Deselect the prim.

Expected behavior: The prim should fall down through the ground.
Observed behavior: The prim doesn't move at all.
----
(0034848)
tampa (reporter)
2019-02-25 07:26

Didn't really know what to change this too, it appears fixed in ubode, but under Bullet the phantom flag is still ignored on physicals by default. Would this be hard to change for Bullet? Otherwise I guess ubode provides this function now.

- Issue History
Date Modified Username Field Change
2011-05-17 11:40 WordfromtheWise New Issue
2011-05-17 11:40 WordfromtheWise Git Revision => all latest git revisions as far i could test
2011-05-17 11:40 WordfromtheWise SVN Revision => 0
2011-05-17 11:40 WordfromtheWise Run Mode => Grid (1 Region per Sim)
2011-05-17 11:40 WordfromtheWise Physics Engine => ODE
2011-05-17 11:40 WordfromtheWise Environment => Unknown
2011-05-17 11:40 WordfromtheWise Mono Version => None
2011-05-17 11:40 WordfromtheWise Viewer => all viewers Hip/ IMP /SL)
2011-07-16 01:06 makopoppo Note Added: 0018923
2011-07-16 01:06 makopoppo Relationship added has duplicate 0002815
2011-07-16 01:08 makopoppo Note Added: 0018925
2011-07-16 01:11 makopoppo Note Added: 0018926
2011-07-16 01:11 makopoppo Relationship added has duplicate 0004683
2019-02-25 07:26 tampa Note Added: 0034848
2019-02-25 07:26 tampa Status new => confirmed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker