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 → head pitch?
head pitch?
2001-08-18, 3:18 PM #1
does anyone here know how to get head pitch? GetThingLVec sux... heh
2001-08-19, 10:33 PM #2
MotS got something nice but JK needs a way around it.

MotS:GetThingJointAngle(player, neckNode);
//Forgot what the neckNode was but look in the eweb cog or something and it should be there somewhere.

JK:
thing stuff local
template temp=ghost local
vector lookVector local

stuff = FireProjectile(player, temp, -1, -1, '0 0.01 0', '0 0 0', 0, 0, 0, 0);
lookVector = VectorNorm(VectorSub(GetThingPos(stuff), GetThingPos(player)));
DestroyThing(stuff);

should do good.

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

[This message has been edited by Hideki (edited August 20, 2001).]
2001-08-23, 11:21 AM #3
or...
for mots only i think:
GetActorHeadPYR(player);

↑ Up to the top!