Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ilovelessons on March 11, 2017, 03:44:34 PM

Title: Playmaker and Gravity problems
Post by: ilovelessons on March 11, 2017, 03:44:34 PM
Hi,

I made a simple 2d sprite animation and applied a RigidBody 2D to it in the Inspector. I rigid body left the Gravity as 1 (I am assuming 1 represents the 9.81 m/s2). Also I saw someone leave it as 1 in an online tutorial and it worked fine for them. The video was on this link:


Anyway I attached playmaker script just to make him walk horizontally (I did not thing with vertical movements or gravity).

1. When the value is 1 my character falls very very slowly to the ground very very slowly.

2. WHen I disable the playmaker script my character falls normally as it should.

Have any of you all ever experienced this?

I have attached picture what my playmaker panel looks like. It just baffels me. Any suggestions mates?

Title: Re: Playmaker and Gravity problems
Post by: pXd on March 13, 2017, 01:11:18 AM
Are you setting the vertical velocity to 0 on every frame?

I don't use the 2d system much, but it seems you're setting the XY velocity twice in the last playmaker action.