bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to implement sensors?

PinkFatMan opened this issue · comments

I want to implement a mechanism, which is a sensor or trigger. How do I need to set the collider properties to implement it?

Using PyBullet you can query any contact points (and filter them for particular objects/sensors) and check the forces (impulses) and penetration and contact locations. See getContactPoints in https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3