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

btRaycastVehicle not syncing position on moving platform #428

Open
ID-Emmett opened this issue Jun 27, 2024 · 0 comments
Open

btRaycastVehicle not syncing position on moving platform #428

ID-Emmett opened this issue Jun 27, 2024 · 0 comments

Comments

@ID-Emmett
Copy link

When using btRaycastVehicle in Ammo.js, the vehicle does not sync its position when placed on a moving platform. It appears that the vehicle's raycasting references the global coordinate system, causing it to stay in place while the platform moves. The vehicle's wheels do not contact the platform directly, which may contribute to this issue. I have ensured that the platform and vehicle are properly initialized. This problem seems to be related to how the raycasting mechanism handles moving bases. Any guidance or solutions would be greatly appreciated.

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