Search found 7 matches

by haydeng21
Mon Oct 19, 2020 6:27 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

Yes, in three.js the default forward axis is -Z. After these attempts I do think that the trick requires a multi-staged approach, which I probably won't be able to try right now but If I do I'll keep you updated. Please let me know if you think of any other possible solutions to this, especially a b...
by haydeng21
Mon Oct 19, 2020 3:50 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

Did you change the values in the top left panel? The V key won't do anything unless you change those values, since the default angular velocity is 0. I just tried your new angular velocity suggestion but it's not causing a varial. I've tried many combinations of angular velocity and none are getting...
by haydeng21
Fri Oct 16, 2020 2:35 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

I tested your suggested angular velocity and more combinations but no luck so far. I've setup a sandbox to directly test different angular velocities (https://varial--awesome-franklin-02c975.netlify.app). Once you're in the park, jump with "space" and then press "v" to varial. For now, I've kept the...
by haydeng21
Wed Oct 14, 2020 5:08 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

Thank you for the wonderful breakdown of this in detail, it makes a lot of sense! One final question before this is solved: How do I calculate the angular velocity of the desired varial (tumble phase)? I've been searching online but can't find anything that helps me wrap my brain around that calcula...
by haydeng21
Wed Oct 14, 2020 3:37 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

Thank you again for the quick response and updated thoughts! No you wouldn't have to continually update the target rotation using my recipe. You would compute the angular velocity to move from A to B in time T , then set the body rotating and allow the physics engine to update the body until T secon...
by haydeng21
Tue Oct 13, 2020 4:09 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

Re: How to rotate rigid body around Y and Z axis independently and simultaneously?

First off, thank you very much drleviathan for your time spent crafting this response to help me out! I greatly appreciate it. In regards to the ollie, you're correct and I believe you've hit the nail on the head for how to create a realistic ollie. However, this skate simulation is just meant to be...
by haydeng21
Thu Oct 08, 2020 8:54 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to rotate rigid body around Y and Z axis independently and simultaneously?
Replies: 12
Views: 504

How to rotate rigid body around Y and Z axis independently and simultaneously?

I'm new to Bullet so please excuse any noobness in my question :) I'm working on a skateboard simulation using Ammo.js, the javascript version of Bullet, and my objective is for the skateboard to do a varial (rotate around the local Z_forward axis and the local Y_up axis at the same time). Here's a...