Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008653opensim[REGION] Script Functionspublic2020-01-28 07:002020-01-28 08:18
Assigned Tomewtwo0641 
PlatformOperating SystemOperating System Version
Product Version 
Target VersionFixed in Versionmaster (dev code) 
Summary0008653: osNpcMoveTo and osNpcMoveToTarget no longer function properly
DescriptionOn master, osNpcMoveTo() and osNpcMoveToTarget() seem to no longer function properly. When the move functions are called, the NPC just walks in place, but never goes anywhere.

Some additional observations: Sometimes when the NPC is rezzed, they never touch the ground, and sometimes they just float away into the sky. If I try to bump into the NPC I end up just walking right through them. It almost seems like physics just doesn't exist for NPCs now.
Steps To Reproduce1. Create an NPC

2. Call osNpcMoveTo() or osNpcMoveToTarget() on the NPC
Additional Information//Script used to test
vector dest = <139.466843, 51.774719, 27.35>;
key npc = NULL_KEY;

    touch_start(integer x)
        key toucher = llDetectedKey(0);
        if(npc == NULL_KEY)
            //Based on a cube prim at default size of 0.5m ^3, set the
            //NPC just a bit in front of the cube so they don't spawn inside it
            vector spawnPos = llGetPos() + <1.5, 0.0, 0.0>;
            npc = osNpcCreate("Test", "NPC", spawnPos, toucher);
            //llSleep(5); //The issue occurs with or without the sleep... Just testing.
            osNpcMoveTo(npc, dest);
            npc = NULL_KEY;
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script EngineYEngine
Environment.NET / Windows64
Mono VersionNone
Attached Files

- Relationships

-  Notes
UbitUmarov (administrator)
2020-01-28 07:46
edited on: 2020-01-28 07:47

hope it is better now

mewtwo0641 (reporter)
2020-01-28 08:18

Seems to be fine now. Thank you :)

- Issue History
Date Modified Username Field Change
2020-01-28 07:00 mewtwo0641 New Issue
2020-01-28 07:46 UbitUmarov Note Added: 0036147
2020-01-28 07:47 UbitUmarov Note Edited: 0036147 View Revisions
2020-01-28 08:18 mewtwo0641 Note Added: 0036148
2020-01-28 08:18 mewtwo0641 Status new => resolved
2020-01-28 08:18 mewtwo0641 Fixed in Version => master (dev code)
2020-01-28 08:18 mewtwo0641 Resolution open => fixed
2020-01-28 08:18 mewtwo0641 Assigned To => mewtwo0641

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker