Catfart Grayson
Registered User
Join date: 16 May 2004
Posts: 264
|
09-03-2004 09:47
Evening all,
Anyone else having problems with collision events?
I noticed that one of my pre 1.5 scripts had stopped reacting to the ground. Played around but couldnt get it to work.
Tried a few simple prims with collision, collision_start and land_collision events in them, none work.
Did I miss something in the release notes?
_____________________
Cat
|
Ezhar Fairlight
professional slacker
Join date: 30 Jun 2003
Posts: 310
|
09-04-2004 03:09
Just tested it with this script: default { collision(integer num_detected) { llSay(0, "collision"); } collision_start(integer num_detected) { llSay(0, "collision_start"); } collision_end(integer num_detected) { llSay(0, "collision_end"); } land_collision_start(vector pos) { llSay(0, "land_collision_start"); } land_collision_end(vector pos) { llSay(0, "land_collision_end"); } land_collision(vector pos) { llSay(0, "land_collision"); }
}
Bumping it produces collision_start, collision_end and collision events, so that is working. Setting it phyhsical and dropping it on the ground produces only land_collision_start and land_collision_end events, not a single land_collision event. So that seems to be bugged, but I don't know if it ever worked in 1.4 :) Oh, and 1.5 caused some "stuck" scripts for me, which had to be recompiled to work again (resetting did nothing).
|
Catfart Grayson
Registered User
Join date: 16 May 2004
Posts: 264
|
09-04-2004 03:23
Ezhar,
Looks like you got the same results I did. After recompiling I got collision, collision_start and collision_end working.
land_collision_start and land_collision_end work but not land_collision. It did work, I had a number of scripts using it. Changing them to land_collision_start got them going again.
I did actually get some land_collision events to trigger. I got a physical cube with an appropriate script in it and dragged it along the ground. Occationally, land_collision fired. I'd guess about once for evey thirty land_collision_start event triggered.
_____________________
Cat
|
Ezhar Fairlight
professional slacker
Join date: 30 Jun 2003
Posts: 310
|
09-04-2004 05:34
Bugreport it 
|
Ironchef Cook
-
Join date: 23 Jun 2003
Posts: 574
|
09-04-2004 12:43
I have noticed this as well. land_collision is firing very slow or not at all.
|