• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-2698
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: Phantom Ninetails
Votes: 6
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Collision events take a long time to fire

Created: 26/Jul/08 04:16 PM   Updated: 06/Feb/09 05:34 PM
Return to search
Component/s: Physics, Scripts
Affects Version/s: 1.22.4 Server
Fix Version/s: 1.25 Server

Issue Links:
Relates
 


 Description  « Hide
Collision events in scripts take a long time to fire. This is noticeable in the popgun, as the bullet bounces off a considerable distance before stopping. Here is a demo script:

default
{
collision_start(integer total_number)

{ llSetStatus(STATUS_PHYSICS,FALSE); llSay(0, "Impact"); }

}
Put this in a cube, and drop the cube on another cube or platform, and see how long it takes to activate.

The amount of time it takes is random, sometimes it's quick to work but sometimes it takes up to 10 seconds.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Phantom Ninetails added a comment - 26/Jul/08 04:27 PM
Changed demo script to use collision_start event which should activate sooner but in practice seems to take even longer to activate.

Also the shape doesn't have to be a cube, it can be any shape.


Maggie Darwin added a comment - 26/Jul/08 07:51 PM
Note that there is already a fix for this problem associated with SVC-2511, waiting to get on to the beta grid

Andrew Linden added a comment - 28/Oct/08 02:44 PM
Setting this bug to "fix pending". I believe this bug is related to a problem discovered when investigating SVC-2511. The fix for this has been a long time coming (delayed by the MONO project) but is now in 1.25-Server which is currently deployed to the preview grid. If someone could go there, test this out, and report back that would be great.

http://wiki.secondlife.com/wiki/Preview_Grid


Phantom Ninetails added a comment - 29/Oct/08 09:27 PM
Hey thanks, I just went to check it out now, and it seems like collisions are alot better now. I only tested the initial collision for each object as it's all I need, and it seems to perform just as well during lag as when there's no lag at all.

Hidenori Glushenko added a comment - 10/Jan/09 07:53 AM
works fine at 1.25.3.107561 on aditi

Hidenori Glushenko added a comment - 06/Feb/09 05:34 PM
fixed in 1.25 and deployed to all maingrid regions.