playMaker

Author Topic: Faux Gravity?  (Read 2378 times)

karim

  • Playmaker Newbie
  • *
  • Posts: 5
Faux Gravity?
« on: February 24, 2014, 11:36:47 AM »
Hi all,

Is it possible to achieve something like Tail Drift Gravity  http://unity3d.com/contest/flash-in-a-flash/

Without much coding?

Best,
Karim

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Faux Gravity?
« Reply #1 on: February 24, 2014, 01:10:59 PM »
hi,

"Without much coding" yes, "Without much effort", no :)

 Basically, you need to apply a gravity force that is always pointing in the opposite direction of the trail.

basically, I would define the path using a real spline that would be used to extrude the trail mesh as well as be used to control the movement.

here I think the plane is not moved by itself but rather using "u" of the spline, so you control a moving point on the spline itself, then the plane follow that point taking in consideration the gravity ( itself towards the spine point it currently follows).

 Not overly complex, but definitly not easy neither!

some post to read and study carefully:

http://hutonggames.com/playmakerforum/index.php?topic=5065.msg25085;topicseen#new

http://hutonggames.com/playmakerforum/index.php?topic=5669.0


Bye,

 Jean

karim

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Faux Gravity?
« Reply #2 on: March 01, 2014, 03:55:46 AM »
Brilliant, as always.

Thanks Jean!