Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
rotation of door #316712
03/26/10 01:02
03/26/10 01:02
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
Hi,
(i post this subject cause i'm on it since 1hour with no result--)

the problem is : i want to make a basic door like a real door, with a side which stick to the wall.

i tried "doors and lids" with "door" as action on my door.
Should work nicely but it sucks because it do only a rotation and i got it (i know the size of the door is not good but np for here):
:x
the final position dont looks like a normal door --'
i'm looking for something like it :

(and i don't understand why i dont got this result because the guy who did this screenshot only used the action door like me for got this result --')

then i tried c_rotate (searched in manual for it), Door Key, trek_door, but the result is the same --
i know that c_rotate stop the rotation when there is a collision but it don't helped me --

if someone could tell me what i'm supposed to do for got the normal result.. ty :|


Last edited by ayks; 03/26/10 01:04.
Re: rotation of door [Re: ayks] #316713
03/26/10 01:09
03/26/10 01:09
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
The model / map entity rotates about its origin, that means your axis of rotation has to intersect the local origin (vector(0,0,0)).
=> Open your door.wmp map entity (it looks like it is a map entity), select the blocks and move them to the right/up/down/left so that the door hinges are on the z-axis with x=0=y.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: rotation of door [Re: Superku] #316765
03/26/10 12:48
03/26/10 12:48
Joined: Sep 2009
Posts: 155
France
ayks Offline OP
Member
ayks  Offline OP
Member

Joined: Sep 2009
Posts: 155
France
Ok, thanks, perfect, i understand now and i just succeeded in doing it.

now that i know the solution, it looks logical, but if i hadn't read an answer like yours, I wouldn't have found the solution for sure :s (that's why i'm a noob :|)

ps : indeed, this is a map entity, which is normal for a door i guess :Y

edit : i watched the video of your game some days ago, and it looks damn pro :s

Last edited by ayks; 03/26/10 12:55.
Re: rotation of door [Re: ayks] #316782
03/26/10 15:09
03/26/10 15:09
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Hehe thank you! wink
I prefer models for doors because they can have more details and render faster than map entities. (Map entities are okay, too.)


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Gamestudio download | 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