|
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
|
06-05-2008 16:54
I have a VERY simple script that uses llPushObject and it seems to be even more broken after the Rolling Restart today (6/5/0  than it was before the restart. Here is the script: default { collision_start(integer num) { llPushObject(llDetectedKey(0),<30, 0, 1>,ZERO_VECTOR, FALSE); } } The script is running in a 1.5 x .2 x 4 box. After the Rolling Restart today, when an avatar walks into/collides with the box, NOTHING happens. The avatar just stands there. While the avatar is standing there if I right click on the box (to bring up the EDIT window) the avatar is pushed an appropriate distance on the x axis. Before the Rolling Restart today, the avatar would be pushed along the x axis appropriately MOST of the time. Only occasionally nothing happened. I've played with the vector in the llPushObject function, but the behavior doesn't seem to change. The JIRA has a LOT of unresolved issues with llPushObject, but none seem to match up with this problem or with anything in todays update. Can anybody tell me what I'm doing wrong or how to fix it? THANKS in advance.
|
|
Feynt Mistral
Registered User
Join date: 24 Sep 2005
Posts: 551
|
06-05-2008 17:56
First, verify that the script is turned on, and you're in a push enabled region. Next, ensure a collision is occurring. It likely is true in all three cases, but it's better to be sure than to go through dozens of debugging steps only to be defeated by the obvious which can be fixed with a few clicks. Friction seems to be much higher than in Havok 1 as far as avatars on the ground goes, mostly to deal with the slippery slope issue (a low grade hill would cause avatars to slowly slide down them, bad news). This requires more force to be applied to the avatar. Also, you have to account for the avatar's mass in your applied forces, which you don't appear to be doing. Try <30, 0, 1> * llGetObjectMass(llDetectedKey(0)) to start, and if it doesn't work quite as well as you wanted up the forces involved.
|
|
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
|
verify.. push region ?
06-07-2008 02:38
Q verify that <..> you're in a push enabled region q Small question, how/where can i see that? tyia ab
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
06-07-2008 12:53
There's an icon at the top that shows when pushes are restricted. However, your own object should always be able to push YOU, even when it can't push other avatars due to push restrictions (also I believe objects with the same owner as the parcel--including a group deed if applicable--can always push anyone).
|
|
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
|
Thanks
06-08-2008 00:53
Thank You for the explanation. BR ab
|