|
|
LE: accessing avatar Matrices for translation and rotation
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
LE: accessing avatar Matrices for translation and rotation // Archive: Tech Forum
Post by frootee // Aug 20, 2007, 8:01am
|
frootee
Total Posts: 2667
|
I think that could be scripted paul. :) |
Post by Délé // Aug 20, 2007, 8:21am
|
Délé
Total Posts: 1374
|
Don't suppose you could make the guns shoot (or do they already and I just missed this)?
Yes it definitely could. :)
All you have to do is copy the ammo, and animate the copied ammo to move through the air. The only tricky part in that is the getting it to fly in the right direction. Absolutely possible though. |
Post by Norm // Aug 20, 2007, 9:02am
|
Norm
Total Posts: 862
|
should be possible to create homing ammo; follow an avatar's matrix info and the ammo just hits the avatar no matter where avatar is :) |
Post by Délé // Aug 20, 2007, 4:24pm
|
Délé
Total Posts: 1374
|
Look at that...Norm is already thinking up ways to cheat. :p |
Post by tomasb // Aug 20, 2007, 9:11pm
|
tomasb
Total Posts: 261
|
Yes it definitely could. :)
All you have to do is copy the ammo, and animate the copied ammo to move through the air. The only tricky part in that is the getting it to fly in the right direction. Absolutely possible though.
ammo can be done simply by encapsulating distance trigger inside bullet and connect timer to local Z (or another coordinate). Then to fire you just need to copy bullet to scene, set parent matrix to point right direction (set avatar matrix to it), offset it a bit so it don't kill you and enable timer... when bullet gets near avatar, it activates and you can assume bullet has hit him... |
Post by weaveribm // Aug 20, 2007, 11:11pm
|
weaveribm
Total Posts: 592
|
me running the cheerleading squad...
Wow two coincidences in one day.
I'm reading Agatha Christie's 'A Crime In Lycra' right now
Peter :) |
Post by 3dvisuals dude // Aug 20, 2007, 11:40pm
|
3dvisuals dude
Total Posts: 1703
|
me running the cheerleading squad...
Wow two coincidences in one day.
I'm reading Agatha Christie's 'A Crime In Lycra' right now
Peter :)
Why thank you Peter!
Yes, apparently my involvement in all this certainly is a crime, but what the hey... they did give me a great deal on the lycra cone.:D
- 3dvisuals dude |
Post by 3dvisuals dude // Aug 20, 2007, 11:43pm
|
3dvisuals dude
Total Posts: 1703
|
ammo can be done simply by encapsulating distance trigger inside bullet and connect timer to local Z (or another coordinate). Then to fire you just need to copy bullet to scene, set parent matrix to point right direction (set avatar matrix to it), offset it a bit so it don't kill you and enable timer... when bullet gets near avatar, it activates and you can assume bullet has hit him...
You guys are really scaring me now!:)
- 3dvisuals dude |
Post by 3dvisuals dude // Aug 20, 2007, 11:48pm
|
3dvisuals dude
Total Posts: 1703
|
Look at that...Norm is already thinking up ways to cheat. :p
Watch... he'll show up on day one in "God Mode.";)
- 3dvisuals dude |
|