Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 472 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Collision #482647
03/12/21 17:13
03/12/21 17:13
Joined: Mar 2005
Posts: 94
Schweiz
Blacknova Offline OP
Junior Member
Blacknova  Offline OP
Junior Member

Joined: Mar 2005
Posts: 94
Schweiz
I don't get smart. Have been trying for days now. The car always drives through everything. Use the Car Script from Pro 8. The car or script has no collision detection. Or what am I doing wrong?

Look picture cry
[img]https://www.bilder-upload.eu/bild-038670-1615568040.jpg.html[/img][size:14pt][/size]

Re: Collision [Re: Blacknova] #482648
03/12/21 18:07
03/12/21 18:07
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hey, do you use terrains? If so, make sure that you don't scale it in WED (you can only scale it via MED). Also make sure to set 'Create Meshes' flag in WED's Map Compiler.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Collision [Re: Blacknova] #482651
03/12/21 19:53
03/12/21 19:53
Joined: Mar 2005
Posts: 94
Schweiz
Blacknova Offline OP
Junior Member
Blacknova  Offline OP
Junior Member

Joined: Mar 2005
Posts: 94
Schweiz
I not scale the terrains in WED. Flag "Create Meshes" in WED's Map Compiler is made. Still, it doesn't work frown cry

Last edited by Blacknova; 03/12/21 19:54.
Re: Collision [Re: Blacknova] #482652
03/12/21 21:06
03/12/21 21:06
Joined: May 2013
Posts: 154
N
NeoDumont Offline
Member
NeoDumont  Offline
Member
N

Joined: May 2013
Posts: 154
Dont scale the terrain in MED from small to too large. Use enough polygons for the terrain.

I found an elder script where I wrote a simple action for the terrain :

Action Makepoly()
set (my, POLYGON)

was attached to the terrain

You may also try to change the terraindetail value fot your terrain.

Hope that helps

NeoDumont

Re: Collision [Re: Blacknova] #482654
03/13/21 08:55
03/13/21 08:55
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted by Blacknova
I not scale the terrains in WED. Flag "Create Meshes" in WED's Map Compiler is made. Still, it doesn't work frown cry
Terrain is the only mesh that doesn't have collisions? Does it collide with level blocks?

Edit: aside from all this, there is an example of how to setup vehicle called 'knights_on_wheels.c' it can be found in 'GStudio8\samples' folder. I strongly recommend you to take a look at that. As it's nearly impossible for us to guess what's causing troubles on yourside. It's better for you to take a closer look at how (more or less) correct example works. Also, terrain details (or any other customizable visual settings of the terrain) have nothing to do with collision detection, so don't waste your time. Simply learn from the working example that engine provides.

Best regards.

Last edited by 3run; 03/13/21 09:52.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Collision [Re: Blacknova] #482655
03/13/21 16:29
03/13/21 16:29
Joined: Mar 2005
Posts: 94
Schweiz
Blacknova Offline OP
Junior Member
Blacknova  Offline OP
Junior Member

Joined: Mar 2005
Posts: 94
Schweiz
I found the error. grin You have to place the terrain exactly in the X axis in the WED. The Collision is running. blush Have tested it with two terrain and it works great. laugh

See picture
[img]https://www.bilder-upload.eu/bild-bc673c-1615653176.png.html[/img]

Last edited by Blacknova; 03/13/21 16:34.

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