Thread Rating:
  • 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.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Private Match Bots? (NO CT) Strazeeh 12 9,933 10-02-2013, 16:52
Last Post: Strazeeh
  Making an apocalyptic themed Minecraft map AZUMIKKEL 54 28,974 08-31-2013, 02:54
Last Post: AZUMIKKEL
  Making a harrier crash into the map? akillj 6 4,907 06-09-2013, 05:57
Last Post: akillj
Brick Lesson 3: Making game in C++ Nekochan 2 3,548 06-03-2013, 15:25
Last Post: Nekochan
  Making a gametype multi-rounded? DidUknowiPwn 6 4,596 04-22-2013, 22:14
Last Post: Pozzuh
Information [Tutorial] Making MORE glass in your form. Nekochan 27 12,266 03-22-2013, 22:04
Last Post: kokole
Rainbow Lesson 1: Making game in C++ Nekochan 6 5,226 02-04-2013, 15:27
Last Post: Nekochan
Rainbow Lesson 2: Making game in C++ Nekochan 1 2,730 02-04-2013, 15:14
Last Post: Ich1994
  W@W: Making player spawn with a custom default class. koil 9 5,430 01-13-2013, 12:10
Last Post: koil
  private match maps won't work with mods! leereef 1 2,490 01-13-2013, 12:01
Last Post: surtek

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.