playMaker

Author Topic: Circular gravity method.  (Read 10862 times)

KomalR

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Circular gravity method.
« Reply #15 on: January 27, 2014, 01:32:25 PM »
The problem I had with this kind of gravity is anything other rigidbody other than player would just fall off the planet and it's really hard even with parenting.

So, I kept working on the previous gravity idea but I've hit a roadblock cause I can't get the player to rotate around it's Y-axis. I've included a unitypackage. If anyone is willing to have a look at why is this happening. I'd be really thankful.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Circular gravity method.
« Reply #16 on: February 03, 2014, 03:58:18 AM »
Hi,

 instead, have the physics gravity set to 0,0,0 and each object is responsible for its own gravity. Gravity is only a force, so it's ok to have an fsm on each object that applies a constant force of -9.8 in some axis.

bye,

 Jean

Rabassa

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Circular gravity method.
« Reply #17 on: February 08, 2018, 09:59:34 AM »
Do you have a script for making the planet rotate under your player?
I'm working on a similar project.
Thanks,
rich