#Trying to push rigid body box with kinematic player

12 messages · Page 1 of 1 (latest)

dim quarry
#

Trying to push this box, the box moves however no force is applied to the player moving it

warm marsh
#

Kinematic body's interactions must be coded

#

So you gotta code the box pushing the player when it's in contact with it!

#

Shouldn't be too difficult, check if colliding with player, apply velocity to it if so

#

well it depends what node you want to handle the interaction, but it's about the same

warm marsh
#

So the box pushing back the player is no different ^^

#

Well of course you can't apply_central_impulse to a kinematic body, but yknow what I mean

warm marsh
dim quarry
#

its the default behavior of a rigid body

#

so i wouldnt know how

dim quarry