Home   Help Search Login Register  

Author Topic: SetPitch?  (Read 539 times)

0 Members and 1 Guest are viewing this topic.

HuNtA

  • Guest
SetPitch?
« on: 02 Sep 2004, 17:19:23 »
kk, I know how to get the pitch of an object using a function, but how do I set the pitch of an object?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:SetPitch?
« Reply #1 on: 02 Sep 2004, 19:11:33 »
You can't...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:SetPitch?
« Reply #2 on: 03 Sep 2004, 00:26:21 »
You have to use the get bank/pitch function at the editor depot to get he actual pitch angle of the object.  However, if you need to get the angle of climb or dive of a moving object, you can use the Velocity command and then use trig, or you can use my handy VelAng function which will return the angle at which a moving object is climbing or diving.  The VelAng function can be found with the Super Chopper script and demo, or with the Super Guided Missile script and demo at the editor depot.

HuNtA

  • Guest
Re:SetPitch?
« Reply #3 on: 03 Sep 2004, 10:45:52 »
nah, I jus need the pitch of a bullet (Im attaching an object to it for laser fire)

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:SetPitch?
« Reply #4 on: 03 Sep 2004, 14:40:39 »
Quote
You have to use the get bank/pitch function at the editor depot to get he actual pitch angle of the object.  However, if you need to get the angle of climb or dive of a moving object, you can use the Velocity command and then use trig, or you can use my handy VelAng function which will return the angle at which a moving object is climbing or diving.  The VelAng function can be found with the Super Chopper script and demo, or with the Super Guided Missile script and demo at the editor depot
Well, this still does not able you to set the pitch of an object... ::)

Of course, by using multiple models of the same object all in different angles and creating the object which has the closest angle matching the pitch...

Or am I completely and utterly ranting about something completely different...? ;D :P (sooo sleepy...)
If so, I'm sorry and will get me coat... ::)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.