Search found 7 matches

by MrOnlineCoder
Mon Jan 28, 2019 12:18 pm
Forum: General Bullet Physics Support and Feedback
Topic: Where is the old wiki?
Replies: 1
Views: 464

Re: Where is the old wiki?

Hi,

Wiki is down since site domain changed to pybullet.org, you are right. You can access the cached wiki pages via waybackmachine: https://archive.org/web/.

I asked about wiki status on GitHub (https://github.com/bulletphysics/bullet3/issues/2048), it should be restored sometime later.
by MrOnlineCoder
Thu Jan 10, 2019 7:06 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Re: Rotating btRigidBody depending on mouse movement

UPDATE: I've figured out that my collision shape is a box, and rotating it by pitch value causes the box to rotate too, and it causes some problems (look at the picture attached, the lower vertex of the rectangle "traps" into the ground). You can now optionally ignore the stuff that I've written be...
by MrOnlineCoder
Wed Jan 09, 2019 5:23 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Re: Rotating btRigidBody depending on mouse movement

(1) Thanks for detailed explanation. (4) Thanks for that one. Is it possible to create direction (which I will use to convert velocity to world-frame) vector directly from rotation data in btTransform? (surely I can use the one that is used by my camera class, but just asking to avoid passing additi...
by MrOnlineCoder
Wed Jan 09, 2019 2:05 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Re: Rotating btRigidBody depending on mouse movement

drleviathan, thanks, that worked after some additions. Anyway: 1) Why there is no alternative getEuler() method, where the angles order are not reversed. There is setEuler(), but no getter for it. What are advantages of using ZYX form? 2) My yaw (rotation around Y axis) is controlled by mouse, so th...
by MrOnlineCoder
Tue Jan 08, 2019 6:23 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Re: Rotating btRigidBody depending on mouse movement

drleviathan, 1) I've set the angular factors to 0 - it didn't help, but anyway that is a helpful hint, I've forget about it. 2) I don't use any constraints. MotionState is the default one (btDefaultMotionState) 3) Maybe I am reading rotation values incorrectly. I have a camera which needs these yaw ...
by MrOnlineCoder
Tue Jan 08, 2019 11:15 am
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Re: Rotating btRigidBody depending on mouse movement

drleviathan, thanks for fast response! I thought about it, but didn't use in my code. The problem that I didn't find the requirement units of angles in documentation or wiki (despite the fact that radians are considered de-facto standard for sin/cos). I've applied your code, but it still does not wo...
by MrOnlineCoder
Mon Jan 07, 2019 11:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: Rotating btRigidBody depending on mouse movement
Replies: 10
Views: 1190

Rotating btRigidBody depending on mouse movement

Hello, I am new to Bullet and need some clarification. I am using btRigidBody for my player object, so that player would be affected by physics. It's movement is changed with setLinearVelocity() and works fine. But I can't get it's rotation working. What I need : given yaw and pitch angles ( in degr...