Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
11-17-2005 20:27
Can a script rez a prim relative to the attached prim or just the avatar? can a script determin if it's prims coordinates and not the coordinates of the avatar? how about the prim's rotation instead of the avatar's? Can a prim auto push any physical object and not also push the avatar?
I don't need to see the code *for* these things, just if it's possible, as I'm hunting for new projects and some of the ideas would involve these issues.
|
Beatfox Xevious
is THOUSANDS OF PEOPLE
Join date: 1 Jun 2004
Posts: 879
|
11-18-2005 11:29
The position of an attachment relative to the world is dependent on your character's animation at that point in time, which is entirely client-side. Pretty much the only feature that "knows" the "actual" position of an attachment (which is a bit of a fallacy, since this position will not be the same on all clients due to the fact that animations will not be perfectly synced between clients) is particles, since that is also a client-side feature. So I'm afraid the answer to your first three questions would be no.
I'm not quite sure what you mean in the fourth question. Are you saying you want to make an attachment simply push physical objects without applying any recoil on your av? Because llPush does not apply recoil; only rezzing objects at a non-zero velocity (e.g. bullets) applies recoil.
_____________________
My Beatworks: Zephyr Chimes wind chimes, the KanaMaster Japanese kana tutor, and the FREE Invisibility Prim Public. Look for them at the Luskwood General Store in Lusk (144, 165).
"You have been frozen. You cannot move or chat. A pony will contact you via instant message (IM)." - mysterious system message I received after making off with Pony Linden
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
11-18-2005 23:12
Hehe...kinda like super-position theory...where all things exist in an infinite number of spaces until you focus on them...and then they exist in one location for that moment.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
11-19-2005 07:22
From: Beatfox Xevious
I'm not quite sure what you mean in the fourth question. Are you saying you want to make an attachment simply push physical objects without applying any recoil on your av? Because llPush does not apply recoil; only rezzing objects at a non-zero velocity (e.g. bullets) applies recoil.
I noticed when trying to make an anti-griefing script that would push away any physical object that collied with me that I was getting pushed too by the set amount (10000), even if the colliding object was of insignificant speed/momentum. but perhaps that's an error in my code.
|