Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular conveyor belt simulation #382

Open
hazidh opened this issue Mar 20, 2025 · 0 comments
Open

Circular conveyor belt simulation #382

hazidh opened this issue Mar 20, 2025 · 0 comments

Comments

@hazidh
Copy link

hazidh commented Mar 20, 2025

Hello Sir, I found that when I use these two lines of code to make the Box move in a circle, its rotation attitude around the center will change. For example, the Angle from the center is 0 at the beginning, but it will have a certain Angle around the center, such as the picture.May I ask why?

Image

 float speed = angularSpeed * contactToCenter.length();
 PxVec3 velocity = tangentDirection*speed;
 contacts.setTargetVelocity(j, velocity);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant