IrrBullet constraints?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
dart_theg
Posts: 53
Joined: Sun Dec 29, 2024 3:13 am

IrrBullet constraints?

Post by dart_theg »

Any idea on how to implement constraints like hinge into IrrBullet, or does it exist and I can't find it? :lol: It seems there is no trace of constraints in irrBP.
n00bc0de
Posts: 123
Joined: Tue Oct 04, 2022 1:21 am

Re: IrrBullet constraints?

Post by n00bc0de »

IRigidBody has a function called getPointer() that returns a btRigidBody. You can use that to add constraints in bullet.
n00bc0de
Posts: 123
Joined: Tue Oct 04, 2022 1:21 am

Re: IrrBullet constraints?

Post by n00bc0de »

Also, irrBulletWorld also has the getPointer() function to get a btDynamicsWorld.
Post Reply