Gamestudio Links
Zorro Links
Newest Posts
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
3 registered members (AndrewAMD, Nymphodora, VoroneTZ), 1,485 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problems with collision #75223
05/23/06 20:14
05/23/06 20:14
Joined: Mar 2006
Posts: 24
A
Atsu Offline OP
Newbie
Atsu  Offline OP
Newbie
A

Joined: Mar 2006
Posts: 24
I'm using models exported from 3ds max as .3ds and then imported to MED and saved as .MDL7. When I use these models in WED the collision with the player doesn't work properly (tried it with templates). Lets say I have a box there and the player runs to it. The box should stop him, but the player penetrates half of the box model and collides only inside of it. This happens with all the models I have tried. How do I fix it?

Re: Problems with collision [Re: Atsu] #75224
05/26/06 18:46
05/26/06 18:46
Joined: Aug 2003
Posts: 275
Germany
kopitzki Offline
Member
kopitzki  Offline
Member

Joined: Aug 2003
Posts: 275
Germany
Try setting
my.min_x
my.max_x
my.min_y
my.max_y
to values you can read in MED or just play around with, say,
my.min_x*=2;
my.max_x*=2;
my.min_y*=2;
my.max_y*=2;

in the action attached to your model.

If you've got an A6.3 version, I guess there's an instruction like set_hull or
correct_collisionbox or something, just search the help file for the "collision" entry.

Re: Problems with collision [Re: kopitzki] #75225
05/26/06 18:52
05/26/06 18:52
Joined: May 2005
Posts: 107
Latvia
raymich Offline
Member
raymich  Offline
Member

Joined: May 2005
Posts: 107
Latvia
you should have collision working if you are using c_move and c_rotate. it will not work with my.x +<value> or something...

check workshop18 here, that will help you alot!
http://server.conitec.net/down/cscript.zip


Moderated by  HeelX, rvL_eXile 

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