User Tag List

Results 1 to 6 of 6

Thread: Vehicle direction

  1. #1
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Vehicle direction

    Hey,

    I have a 2D hill and a 2D vehicle on that hill. How can I make the vehicle look in the right direction relative to the hill. So if it is more at the base that it is lookig more upwards and at the top it is horizontal? What movement do I have to use? The goal is that the vehicle would move and change it's direction, similar to this example:

    truck1

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Sep 2010
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vehicle direction

    Hi there mate! I'm new to MMF.
    But I think what you are looking for is the
    scale/Angle - set Angle. under the object you want to change.

    then you need to work out how much angle you want the (truck/object) set to as it moves up the hill!

    this will make the object/truck look like it's going the right direction!

    Hope it some help!

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Vehicle direction

    The tough part is figuring out the angle. If you're trying to make a car/truck/cart/ect movement, then it would be much easier, faster, and simpler to just use one of the two Physics extensions - Chipmunk, and Box2D. They handle all this stuff for you without lag that could be caused by fastloops. All you would have to do is make the body of the vehicle and then add the wheels.
    Working as fast as I can on Fusion 3

  4. #4
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vehicle direction

    Well I am trying to make a flash game and I think that the two mentioned extensions are not suported in flash. I will try to figure out something with angle changing although like LB said I know that it will be hard to figure out the angle. And I can't use the platform movemet becaus it has only 4 directions so I am probaly left with the vector movement witch is also quite hard. Thanks for the advices.

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Vehicle direction

    For this you won't need any of the built-in movements. It will be easier in this case to make your own.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=181821

    That should help you get a grip on what you're trying to do.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Vehicle direction

    :grin: GREAT :grin: This is pecisely what I was looking for Thanks!!! :grin:

Similar Threads

  1. How can I make Vehicle AI?
    By gordonquinton11 in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 1st May 2012, 09:37 PM
  2. Creating a vehicle with Box 2D
    By CapJSheridan in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st July 2011, 09:46 PM
  3. Vehicle Physics?
    By Sebaceous in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st January 2010, 10:32 PM
  4. getting into a vehicle?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 6th December 2009, 02:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •