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

Physijs with TextGeometry elements #48

Closed
jminguely opened this issue Oct 11, 2012 · 2 comments
Closed

Physijs with TextGeometry elements #48

jminguely opened this issue Oct 11, 2012 · 2 comments
Labels

Comments

@jminguely
Copy link

Hello,

first of all, thank you for this amazing plugin !

I'm doing a job for school where I would need to animate Typography in 3D. I tried to animate a TextGeometry element with threejs + physijs and the results are quite unexpected.

You can look at it here: http://minguely.ch/three/

Have I done something wrong, or the plugin, in its state, just can't manager Text element?

Thanks in advance !

Julien

@chandlerprall
Copy link
Owner

You are using a BoxMesh for the text, which takes the total size of the geometry and wraps a box around it. Unfortunately, at the moment there are no concave meshes for dynamic models - meaning you can either let an object move around or it can be concave.

If you do not need small objects to go through holes in the letters I would recommend creating each letter individually as a BoxMesh. You can then add the individual letters to a parent object to keep them grouped together. See the wiki page on compound shapes for more details.

@jminguely
Copy link
Author

Okay, thank you for the very quick response!

I'll try your solution this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants