| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| Cube axels | |
|---|---|
| Tweet Topic Started: Jul 1 2006, 08:19 AM (348 Views) | |
| 57E | Jul 1 2006, 08:19 AM Post #1 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Should the cube's rotation axels be positioned like in the right, instead of left, cube in the picture bellow. EDIT: (Sorry, thumbnail didn't work, so here is the link.) http://img303.imageshack.us/my.php?image=example5bv.png Because now cube didn't stay in same location if it rotates around any of the axels. If this is only my error i like to know how fix it. Otherwise i be glad if it is fixed in next version, becouse it causes me serious problems. Thank you. |
|
| |
![]() |
|
| Despellanion | Jul 1 2006, 10:54 AM Post #2 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You have to set the variables originx and originy so origin of the cube is in the center. So...
I think that should help. |
![]() |
|
| 57E | Jul 1 2006, 11:45 AM Post #3 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
No change. |
|
| |
![]() |
|
| Despellanion | Jul 1 2006, 11:59 AM Post #4 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hmm, maybe that's just for billboard 2D graphics. |
![]() |
|
| Dr. Best | Jul 11 2006, 02:53 PM Post #5 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
@ Despellanion Yes, that works only for billboards. @ 57E It is meant to be how it's in the left picture. If you want to handle a cube as in the right picture you can use a bit trigonometry to reach this. You would pass the desired coordinates of the center of the cube and then it would set up x, y and z dependent on these coordinates, the dimensions of the cube and it's transformation (rotx, roty, rotz, scalx, scaly, scalz). I may write a script which does that lateron (if noone else does ).
|
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



).
10:34 AM Jul 11