playMaker

Author Topic: Objects get stuck on surfaces.  (Read 1482 times)

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Objects get stuck on surfaces.
« on: March 04, 2015, 01:05:28 AM »
Using the foundation for setting up a basic carrying item system I ran into a problem. That is, when I move the around to a position like looking down while carrying an object around, it gets stuck.

https://db.tt/4UAas1O0

So when I set up a basic carrying FSM with a state dealing with On Collision before it resets back to a key down state, it still sticks even with a raycast on the item. And if I modify set rigid body constraints, it doesn't have the problem but it wont reset back to the main state dealing the button input.

https://db.tt/OyfM7vAc

I don't understand this because the cube/item needs to fall regardless of what side it drops on.


« Last Edit: March 04, 2015, 01:29:16 AM by coffeeANDsoda »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Objects get stuck on surfaces.
« Reply #1 on: March 04, 2015, 04:03:18 AM »
Hi,

 have you studied this? this could be a better way for you to drag stuff.

http://hutonggames.com/playmakerforum/index.php?topic=1286.msg17046#msg17046

bye,

 Jean

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: Objects get stuck on surfaces.
« Reply #2 on: March 04, 2015, 04:41:14 AM »
Do recall using an example project from that thread with Drag RigidBody added, except in the example scene that came with it, I was able to even pick it up from the ground when it dropped.

Also, how would throwing it would work though? With just the object itself as oppose to parenting it with a cube that adds force to it?