Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Unreliable collisions

Daisy Rimbaud
Registered User
Join date: 12 Oct 2006
Posts: 764
11-27-2007 16:21
Using llVolumeDetect, the collision_start event should be raised when a prim and an avatar start to interpenetrate. However, it seems that if the avatar is motionless, the event won't be raised immediately.

Is there any way to fix this? I would really like to be able to rely on the collision event starting the moment there is interpenetration, no matter what the avatar is doing.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-27-2007 21:15
could you describe the setup a little more? having trouble visualizing the situation an av or the object wouldn't be moving but started an intersection
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
11-27-2007 21:57
I think the issue is when the volume detecting object moves onto a stationary avatar.

I don't know of a way to get it to do that, but see if it's different in the Havok 4 beta, it may be changing.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-27-2007 22:10
hmm I think I might have seen something similar... but not sure if it was an issues of movement or an issue of (not) crossing the av's 'center' (hip center)... seemed to work 100% if either the av or the moving object intersected over that point... but not if the object moved through some other part of the av...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Daisy Rimbaud
Registered User
Join date: 12 Oct 2006
Posts: 764
11-28-2007 00:49
As far as I can see, if the av is completely inactive and the moving object intersects - even if it completely encases the av - there is no collision. If the av is not moving but doing something like talking, the collision works.