• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making a Heli's angles match my angles?
#1
I'm trying to get this Flyable Helicopter script working, right now it only moves up and down.

My player is "in" the heli, literally. And he's put into third person so all you see is the heli in front of you. I'm trying to get it to match my angles, so when i'm "flying" it, it always updates its rotation to the direction i'm looking. Help?
  Reply
#2
Code:
self setTargetYaw( self.owner.angles[1] );

In the code "self" is the helicopter.
[Image: veovuq.png]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Private Match Bots? (NO CT) Strazeeh 12 4,046 10-02-2013, 16:52
Last Post: Strazeeh
  Making an apocalyptic themed Minecraft map AZUMIKKEL 54 11,018 08-31-2013, 02:54
Last Post: AZUMIKKEL
  Making a harrier crash into the map? akillj 6 1,785 06-09-2013, 05:57
Last Post: akillj
Brick Lesson 3: Making game in C++ Nekochan 2 1,746 06-03-2013, 15:25
Last Post: Nekochan
  Making a gametype multi-rounded? DidUknowiPwn 6 1,757 04-22-2013, 22:14
Last Post: Pozzuh
Information [Tutorial] Making MORE glass in your form. Nekochan 27 4,015 03-22-2013, 22:04
Last Post: kokole
Rainbow Lesson 1: Making game in C++ Nekochan 6 2,249 02-04-2013, 15:27
Last Post: Nekochan
Rainbow Lesson 2: Making game in C++ Nekochan 1 1,322 02-04-2013, 15:14
Last Post: Ich1994
  [email protected]: Making player spawn with a custom default class. koil 9 2,334 01-13-2013, 12:10
Last Post: koil
  private match maps won't work with mods! leereef 1 1,007 01-13-2013, 12:01
Last Post: surtek

Forum Jump:


Users browsing this thread: 1 Guest(s)