Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007902opensim[REGION] Physics Enginespublic2016-05-07 09:232016-05-11 17:00
Reportermaurizio55 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007902: Adding osNpcLookat function
DescriptionThis function would be very easy to implement, I guess, and would dramatically add reality to NPC behavior.

Basically this would add to the NPC the ability to move just the eyes or optionally head and eyes, looking at a specific position. This would not depend or interfere with body rotation.

For example NPC looking at you without turning can add credibility to the action and giving the possibility to NPC to look around at given spots while walking or standing would add great sense of reality.
Anybody interested in collaborating to add this feature?
Anybody with experience knowing how to add/patch npc functions?
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineBasicPhysics
Script Engine
EnvironmentMono / Linux32
Mono Version2.10
Viewer
Attached Files

- Relationships

-  Notes
(0030291)
James Atlloud (reporter)
2016-05-10 12:19

Is there anything like this for standard avatars? My impression is that there are no commands to get at the internal animations. That said, this would be a great feature for both NPCs and avatars.
(0030300)
maurizio55 (reporter)
2016-05-11 17:00
edited on: 2016-05-11 17:01

Not sure if there is anything similar for standard avatars, but the functionality is there. When you move the mouse pointer in the scene your avatar turns the head accordingly. And this happens in the server, is not only a client rendering. I tested with 2 viewers and 2 avatars. If you point the mouse on the avatar face with one viewer, on the other viewer you actually see the avatar looking at you. It's just a matter of hooking at the right code.


- Issue History
Date Modified Username Field Change
2016-05-07 09:23 maurizio55 New Issue
2016-05-07 10:02 maurizio55 Description Updated View Revisions
2016-05-10 12:19 James Atlloud Note Added: 0030291
2016-05-11 17:00 maurizio55 Note Added: 0030300
2016-05-11 17:01 maurizio55 Note Edited: 0030300 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker