Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006591opensim[REGION] Physics Enginespublic2013-03-28 16:342013-06-30 17:12
ReporterRichardus Raymaker 
Assigned ToRobert Adams 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006591: llMoveToTarget(, not move always smooth. target dont get triggered.
DescriptionI have tested llMoveToTarget with 0.7.6dev 285dc55-r/22421.
I use for that the following script.

integer target_id;
    touch_start(integer n)
        llSetStatus(STATUS_PHYSICS, TRUE);

        vector pos = <130,91,23.0769>;
        target_id = llTarget(pos, 0);
        llMoveToTarget(pos, 1);

    at_target(integer tnum, vector targetpos, vector ourpos)
        llSetStatus(STATUS_PHYSICS, FALSE);
        llOwnerSay("Taregt reached");
Test object is 3.0 x 10.0 x 3.0 meters
When i click the object it moves, sometimes smooth.
the other round its choppy movement.

Other problem, the object seems not to reach the target,
and physics dont get disabled.

thrid problem what sometimes appear is that the prim when its at the target start to wiggle and hopping a bit around.

to make it more easy i have made a small movie, see [^]
TagsNo tags attached.
Git Revision or version number285dc55 r/22421
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionOther
ViewerSingularity 1.7.3 (4000)
Attached Files

- Relationships

-  Notes
Robert Adams (administrator)
2013-06-30 17:12

I checked in a new BulletSim implementation of llMoveToTarget that works much better than the previous one. Give that a try.

A note about your script above: if you touch the object while it is moving, the target will get re-registered and, even though it is to the same position, there are then two targets active and the handle to the first one is lost.

- Issue History
Date Modified Username Field Change
2013-03-28 16:34 Richardus Raymaker New Issue
2013-04-09 11:36 Robert Adams Assigned To => Robert Adams
2013-04-09 11:36 Robert Adams Status new => assigned
2013-06-30 17:12 Robert Adams Note Added: 0024166

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker