Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Point of axis rotation change #319374
04/14/10 16:05
04/14/10 16:05
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47
I want to cange the angle of rotation for a cube, front lower edge when rotating forward, back lower edge when rotating backward,left lower edge when rotating left.. etc...
I can get it to rotate ok, but always from the middle, I need to specify where the axis point is??
Any help would be appreicated.

Re: Point of axis rotation change [Re: Darkmatters] #319378
04/14/10 16:24
04/14/10 16:24
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
vec_for_vertex();

Re: Point of axis rotation change [Re: Widi] #319379
04/14/10 16:31
04/14/10 16:31
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47
that seems to be only a temporary thing, need something that is permanant??

Re: Point of axis rotation change [Re: Darkmatters] #319393
04/14/10 17:57
04/14/10 17:57
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
???

Re: Point of axis rotation change [Re: Widi] #319398
04/14/10 18:19
04/14/10 18:19
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47
Well I have tried to get that to work, without much success?

Re: Point of axis rotation change [Re: Darkmatters] #319413
04/14/10 19:55
04/14/10 19:55
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i dont for sure whate you are doing but maby you can do it with bones

maby i litle more explanation whate you want (maby a image)


"empty"
Re: Point of axis rotation change [Re: flits] #319431
04/14/10 21:05
04/14/10 21:05
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47

Ok, well imagine a cube, the surface on the floor has 4 sides, I want to tell it to rotate/flip on a particular side..

left flip
/-------------/
/ /
back flip / / forward flip
--------------
right flip

hope this makes sense to you!!!
Thanks

Re: Point of axis rotation change [Re: Darkmatters] #319433
04/14/10 21:07
04/14/10 21:07
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47

That was supposed to be a box..... :-)

...........leftflip
back../------------/
flip./............/
..../............/ forward flip
.../____________/
......rightflip

hope this works better.....

Re: Point of axis rotation change [Re: Darkmatters] #319434
04/14/10 21:08
04/14/10 21:08
Joined: Apr 2010
Posts: 47
D
Darkmatters Offline OP
Newbie
Darkmatters  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 47
better, any way, if it still is a mystery, let me know where I can send a pic...

thanks

Re: Point of axis rotation change [Re: Darkmatters] #319512
04/15/10 13:42
04/15/10 13:42
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
hey, have a look at vec_rotate(direction,angle); should do what you need

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1