Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Working out the look vector of a mesh
Working out the look vector of a mesh
2001-04-09, 1:10 PM #1
I'm trying to work out how to get the look vector of a particular mesh, rather than of the actual player or actor. I want to find out where the rhand mesh is pointing.

Any ideas?

Thanks...

Raynar


------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-04-09, 9:31 PM #2
Well the rhand is always pointing to where the player is looking ? , or else if it's pointing a bit away , just minis it off the player vector look.
2001-04-09, 10:15 PM #3
No, I mean where the rhand mesh is pointing at any point in time. When there is a key playing that moves the mesh, ie: saber moves etc, it will not be pointing in the players look vector at all. This is what I'm trying to work out.

Thanks...

Raynar

------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-04-09, 10:34 PM #4
And why are you trying to get the vector?
JK I think is too old to handle any meshes, there is no command to that touches meshes, except the model itself

But there is a command to get the Joint Angle for a model for MotS

------------------
http://millennium.massassi.net/ - Millennium

[This message has been edited by Hideki (edited April 10, 2001).]
2001-04-09, 10:54 PM #5
Ok, I've got an idea to recreate the saber system for the bots. I'm trying to replace the existing hack which just fires a projectile roughly where the saber swings. It just plain doesn't work.

If I can work out exactly where the rhand mesh is pointing, I can get the cog to continuously fire an invisible projectile with a short range. When the bot swings the saber, any part of the saber that hits the victim, will cause damage.

Easy enough idea, I just need to work out how.

Thanks...

Raynar

------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-04-10, 10:25 AM #6
GetThingJointAngle(thing,int_joint-num);

that verb is from MotS though
I'm just an old man with a skooma problem.

↑ Up to the top!