Re: [Algorithms] Kinematic Collision
Brought to you by:
vexxed72
|
From: <Pau...@sc...> - 2009-09-09 17:50:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 > So my current plan is to instead use a rigid body connected to the > controller with a joint or spring. That way when the controller pushes > against the door the rigid body exerts a force on the door, but when it > reaches its limit it will push the controllers rigid body back far > enough that the controllers collision detection takes over and stops > movement. > > Is this the approach others are using, or is there a better method? We're working on LBP PSP, and so our world is very very physics based. The character is a full rigid body with inverse inertia tensor of 0 so he can't rotate. He is controlled using a custom written 'actor' constraint which has parameters like acceleration, strength and so on. He interacts with the world just like any other rigid body. Having the actor constraint was an important step forward for us in terms of solidity; we started out just applying 'external' forces to sackboy to move him around, but when he interacted with his environment (particularly with other constraints) it didn't go so well. Now his actor constraint is an integral part of the constraint solver it works much better in terms of feel. Cheers, Paul. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify pos...@sc... This footnote also confirms that this email message has been checked for all known viruses. Sony Computer Entertainment Europe Limited Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom Registered in England: 3277793 ********************************************************************** P Please consider the environment before printing this e-mail -----BEGIN PGP SIGNATURE----- Version: PGP Universal 2.9.1 (Build 287) Charset: US-ASCII wsBVAwUBSqfkj3ajGqjtoMHxAQirMQf9F7kysMvkz0jEuou7oX1uzsIXwuRuppqZ 8sXjAVsPb8gdOdSRS7vAMv5GFzzXSJGUGiJfWm9bpDo4lb7Erb2u0I6G1VGkqT/n pEyJp+7cJZqoTEqt/0weWEf4JELayGKxNCZ+acgg1EngZfin98RpTWvMhUf0aWbJ /M78xNX/ucUQDMcFmFu9gfaNM7A3lNy/E5z/B6bvKyfBLfMubUVvFaNaKXKbBnsU MFx3sk8RdESXj7jiUR3XTD5qqzZkK0OJq8lse1U3DhXbzbbjaLe0IXB1ioAsFgm9 k+vEd2QBtWhS/Jdxd0DbPrh1Q4+Z6KZ8BjN8M7S+xi3qSrUSWsaP2g== =DV73 -----END PGP SIGNATURE----- |