Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003868opensim[REGION] Script Functionspublic2009-07-06 15:172012-07-27 09:15
ReporterElwe Ewing 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003868: llGetRot() returns the same angle when avatar rotates in place
DescriptionI've put a script with llGetRot() into a prim attached to the avatar: then I rotate in place, without moving, and got the same rotation values for every direction I face.

Then I made a second rotation, making a little step forward each time I face a new direction, and got different (probably right) angles at each rotation.

llGetRot() should give back the correct rotation even if the avatar doesn't move I think.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono Version2.2
Viewer
Attached Files

- Relationships

-  Notes
(0012335)
melanie (administrator)
2009-07-06 15:54

This is absolutely crucial for guns. llGetRot needs to return the correct rotation at all times, including all components, especially in mouselook.
(0021913)
SignpostMarv (reporter)
2012-07-27 09:15

Can't replicate this bug on latest master using the following script, it always updates when turning on the spot, regardless of whether it's attached to HUD or avatar.

default
{
    state_entry()
    {
        llSetTimerEvent(.2);
    }
    
    timer(){
        llSetText((string)llGetRot(), ZERO_VECTOR, 1);
    }
}

- Issue History
Date Modified Username Field Change
2009-07-06 15:17 Elwe Ewing New Issue
2009-07-06 15:17 Elwe Ewing SVN Revision => 9818
2009-07-06 15:17 Elwe Ewing Run Mode => Grid (Multiple Regions per Sim)
2009-07-06 15:17 Elwe Ewing Physics Engine => ODE
2009-07-06 15:17 Elwe Ewing Environment => Mono / Linux32
2009-07-06 15:17 Elwe Ewing Mono Version => 2.2
2009-07-06 15:54 melanie Note Added: 0012335
2012-07-27 09:15 SignpostMarv Note Added: 0021913


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker