Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Merge objects
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Merge objects (Read 2981 times)
Thomas.
double
Posts: 833
Merge objects
«
on:
July 06, 2011, 09:13:18 pm »
In method Object3D.mergeAll(objects) does not matter how is object translated and rotated?
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12295
Re: Merge objects
«
Reply #1 on:
July 06, 2011, 09:40:12 pm »
No. It merges the objects in object space, not in world space.
Logged
Thomas.
double
Posts: 833
Re: Merge objects
«
Reply #2 on:
July 06, 2011, 09:49:27 pm »
Could you add same method, but merge in world space?
or how to do it?
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12295
Re: Merge objects
«
Reply #3 on:
July 07, 2011, 12:25:33 am »
You can make rotations and translations permanent by calling rotateMesh() and translateMesh() on the object in question. Then merge the objects.
Logged
Thomas.
double
Posts: 833
Re: Merge objects
«
Reply #4 on:
July 07, 2011, 05:29:07 pm »
thanks
Logged
My game for Android
,
Physics example
,
Texture assistant
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Merge objects