Previous Thread  Next Thread

chat icon Adding a Method to KX_GameObject/TouchSensor

Alfonso Crawford

Posted: Fri Nov 02, 2012 3:18 am
Joined: 22 Dec 2011
Posts: 3
What I'm aiming to do is add a function that'll do a cycle of the physics engine's collision/clipping check, so that an object moved with ApplyMovement or dLoc won't clip into objects and reset their velocity. I've gotten halfway there by reducing the amount of logic steps the engine takes in comparison to the physics, but fall-speeds still reset when pressing into a wall on the way down.

Preferably, I'd like to attach this to the game object so that there's no need for a Logic Brick.

Is there any guiding advice you have for this venture? where to start with adding to Python objects, etc.?
Reply with quote

Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group