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

Scaling should affect Plane and position #34

Open
RaiNova opened this issue Aug 11, 2022 · 0 comments
Open

Scaling should affect Plane and position #34

RaiNova opened this issue Aug 11, 2022 · 0 comments

Comments

@RaiNova
Copy link

RaiNova commented Aug 11, 2022

Would you please

add mesh.scale.set(1 * scale, 1 * scale, 1 * scale) after line 188

and

change line 260 from mesh.position.copy(shapeWorldPosition as unknown as ThreeVector3) to
mesh.position.copy(shapeWorldPosition.clone().multiplyScalar(scale) as unknown as ThreeVector3) (or something more elegant, sorry I don't code in TypeScript)

Cheers
Rai

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