|
Troy Padar
Registered User
Join date: 3 Oct 2005
Posts: 8
|
04-02-2006 15:08
Hi,
Can somebody confirm that if I am using llVolumeDetect then llPushObject used within the same script will have no effect? Is there a work around? The problem is that I can only use collisions with llVolumeDetect ... and I didn't want to send messages for other objects to apply the push because that would generate delays. Any suggestions and help is very welcome.
Thanks in advance,
Troy
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
04-02-2006 16:29
The volume detect prim should be able to use llPushObject on other (physical) things.
|
|
Troy Padar
Registered User
Join date: 3 Oct 2005
Posts: 8
|
04-02-2006 19:24
I did tests in two instances and both seem to behave the way I mentioned earlier. The script is in the object's main prim. And the script contains both calls to llVolumeDetect and llPushObject. If I turn off llVolumeDetect, then llPushObject works fine, otherwise it doesn't work. Have you done tests on your side? what results did you get?
|
|
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
|
04-03-2006 00:00
I've built an entire system for avatar transport based on prims with llVolumeDetect and llPushObject, they definitely work. Perhaps we can help if we see your code?
_____________________
-Seifert Surface 2G!tGLf 2nLt9cG
|
|
Zuleica Sartre
Registered User
Join date: 27 Sep 2005
Posts: 105
|
04-03-2006 18:54
Are you using volume detect with collision detection to decide when to push?
If so perhaps you aren't pushing because you aren't detecting the collision until you turn off volume detection.
|
|
Trep Cosmo
Registered User
Join date: 3 Mar 2005
Posts: 101
|
04-04-2006 01:43
I would just like to point something out here. I've recently learned that collision detection and pushing objects is a very tricky thing to do. Your code has to execute extremely fast (by LSL standards) in order for the push to occur in a timely manner after collision.
Streamline your code, cut everything you don't need in the collision and push code. If you don't, the push will come too late or not at all.
_____________________
"There is no 'I' in team, but there is a 'Me' if you scramble it." -- House
|
|
Troy Padar
Registered User
Join date: 3 Oct 2005
Posts: 8
|
04-04-2006 05:58
I am still running some tests. I haven't been able to do much the last couple of days. But I just realized I was getting a reading of energy at 0.0 right after applying the push. So it may be that I am running out of energy and consequently the push not working. I will post again as soon as I run some more conclusive tests.
|
|
Troy Padar
Registered User
Join date: 3 Oct 2005
Posts: 8
|
04-05-2006 02:53
OK that was it. llPushObject works fine if I have no avatar sitting on the prim (there is still energy left after calling llPushObject). But once I have an avatar sitting on it, then I have 0 energy left after a call to llPushObject, which would probably explain why it fails. I must have done my early tests in two different circunstances which led me into the wrong conclusion about llVolumeDetect .. oooops 
|