[Opensim-users] collision detection for attachments
Dahlia Trimble
dahliatrimble at gmail.com
Fri Mar 22 19:55:28 UTC 2013
On the simulator, an avatar collision shape is a "capsule", sort of like a
vertical cylinder with a hemisphere on each end. The avatar mesh, skeleton,
and attachments do not collide on the simulator and as such no events exist
which could trigger a script event. I thought the avatar capsule could
generate collision events but perhaps this is not the case or it is not
implemented in OpenSimulator.
Given the current animation system, collisions with attachments and avatar
meshes would be difficult to implement as they would need to be detected on
the viewer, however, animations are poorly synchronized between viewers and
there is a lack of position accuracy for avatar motion. Sending such events
to the server and making use of them in scripts would be a difficult task.
It's probably possible that the avatar character animation could be
simulated on the server but that would be a fairly large level of
complexity to add to the simulator and given the synchronization issues
with animations, probably would give very inconsistent results compared to
what users would see on their viewers.
On Fri, Mar 22, 2013 at 11:49 AM, Dr Ramesh Ramloll <r.ramloll at gmail.com>wrote:
> Hello,
> I am wondering if this is by design ... I have a script to detect
> collision in an attachment in order to start a specific animation for an
> NPC, but it appears that collision is not detected when the script is
> running in the attachment.
> Let me know if this is to be expected. How would you script an NPC that
> would react diffectly if for e.g. its foot hits something, or some other
> body part hits .... Just an attempt to make an NPC that reacts a little
> more interestingly when colliding with obstacles.
> Thanks
> R
>
> --
> 'Consider how the lilies grow. They do not labor or spin.'
> *Rameshsharma Ramloll* PhD, CEO CTO DeepSemaphore LLC, Affiliate *Research
> Associate Professor*, Idaho State University, Pocatello, ID 83209 Tel:
> 208-240-0040
> Blog <http://deepsemaphore.posterous.com/>, LinkedIn<http://www.linkedin.com/in/rameshramloll>
> , DeepSemaphore LLC <http://www.deepsemaphore.com>, Google+ profile<https://plus.google.com/103652369558830540272/about>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20130322/2fe0b1fa/attachment.html>
More information about the Opensim-users
mailing list