|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
[Re: Toon]
#341371
09/15/10 16:04
09/15/10 16:04
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
function act_canon()
{
VECTOR temp;
VECTOR testvec;
while(1)
{
vec_set(temp.x, you.x);
vec_sub(temp.x, testvec.x);
vec_to_angle(testvec.x, temp.x);
ent_bonerotate(my, "canon", testvec.x);
wait(1);
}
}
untested, but I believe this works... regards,
|
|
|
Entire Thread
|
How to combine x,y,z,pan,tilt,roll in one element ?
|
Toon
|
09/15/10 15:19
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
Helghast
|
09/15/10 16:04
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
Saturnus
|
09/15/10 16:05
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
MasterQ32
|
09/15/10 16:15
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
Toon
|
09/15/10 16:56
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
MrGuest
|
09/15/10 20:36
|
Re: How to combine x,y,z,pan,tilt,roll in one element ?
|
Toon
|
09/15/10 16:25
|
|
|