MantisBT - opensim
View Issue Details
0006481opensim[REGION] Physics Enginespublic2012-12-28 17:212014-07-29 13:42
cmickeyb 
Robert Adams 
normalminoralways
closedfixed 
master (dev code) 
master (dev code)master (dev code) 
Grid (Multiple Regions per Sim)
BulletSim
Mono / Linux32
2.10
0006481: BulletSim - llMoveToTarget does not work
llMoveToTarget does not change the position of an object in bulletsim.
float ang = 0;
integer status = 0;
default
{
    state_entry()
    {
        llSay(0,"started");
    }
    
    touch_start(integer i)
    {
        if (status == 0)
        {
            llSetStatus(STATUS_PHYSICS, TRUE);
            llSetBuoyancy(1.0);
        
            llSetTimerEvent(5.0);
            status = 1;
        }
        else
        {
            llSetStatus(STATUS_PHYSICS, FALSE);
            llSetTimerEvent(0.0);
            
            status = 0;
        }
        
        llSetPos(<128.0,128.0,75.0>);
    }
    
    timer()
    {
        ang += PI/8.0;
        vector pos = <128.0, 128.0, 75.0> + <llCos(ang)*20.0, llSin(ang)*20.0, 0.0>;
        llOwnerSay("position = " + (string)pos);
        llMoveToTarget(pos,0.4);
    }

}
No tags attached.
Issue History
2012-12-28 17:21cmickeybNew Issue
2012-12-28 17:21cmickeybStatusnew => assigned
2012-12-28 17:21cmickeybAssigned To => Robert Adams
2012-12-28 17:24nebadonSummaryBulletSim: llMoveToTarget does not work => BulletSim - llMoveToTarget does not work
2013-01-21 09:23Robert AdamsNote Added: 0023430
2013-01-21 09:23Robert AdamsStatusassigned => resolved
2013-01-21 09:23Robert AdamsFixed in Version => master (dev code)
2013-01-21 09:23Robert AdamsResolutionopen => fixed
2014-07-29 13:42chi11kenStatusresolved => closed

Notes
(0023430)
Robert Adams   
2013-01-21 09:23   
things now move to the target. llMoveToRotationalTarget is now working yet.