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

Using the Raycast Vehicle class but having issues #461

Open
Just-Kiel opened this issue Apr 26, 2021 · 2 comments
Open

Using the Raycast Vehicle class but having issues #461

Just-Kiel opened this issue Apr 26, 2021 · 2 comments

Comments

@Just-Kiel
Copy link

Hello, I'm trying to use the Raycast Vehicle but it seems like I have some problems. When i want to ApplyEngineForce nothing happens, so someone could help me ?
Thanks !

@Just-Kiel
Copy link
Author

So I have now another problem which is that when i try to use setBrake property i get an error : "Uncaught TypeError: Cannot set property 'brake' of undefined"

If anybody has an idea why, i would be happy to discuss

@tomo0613
Copy link

It's hard to tell what is the problem, without seeing the code, however I have some working examples that might can help you:
https://github.com/tomo0613/offroadJS/blob/master/client/raycastVehicle.js
https://github.com/tomo0613/offroadJS_v2/blob/master/src/vehicle/Vehicle.ts
Also the official raycast vehicle demo should work.

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

2 participants