Checkpoints are probably bigger than they are rendered

Checkpoints are probably bigger than they are rendered

Postby Wuzzy » 17 Oct 2013, 17:42

I suspect that the checkpoints rendered in the editor are actually a bit bigger than the editor wants me to believe. I noticed it when editing tracks that produce at some point the “wrong track” message. When I examine the track in the editor, the rendered checkpoints close to the point where the message appeared do often not touch the other road part. One example is the first version of Winding.
If I am right, we would also have the explanation why the mistake with checkpoints collisions is common.
User avatar
Wuzzy
 
Posts: 989
Joined: 28 May 2012, 23:13

Re: Checkpoints are probably bigger than they are rendered

Postby Calinou » 17 Oct 2013, 18:27

I can confirm (SR 2.1 on Linux, regardless of graphics preset).
User avatar
Calinou
 
Posts: 171
Joined: 22 Jan 2010, 21:43
Location: France

Re: Checkpoints are probably bigger than they are rendered

Postby rubberduck » 20 Oct 2013, 20:48

i tested it too, i placed some small objects to to "border" in the editor (they show the size the checkpoints should be, when they were as big as in the editor"
then i drove with a distance of a 2/3 car from the objects
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Re: Checkpoints are probably bigger than they are rendered

Postby CryHam » 28 Oct 2013, 17:07

Right. Need to check.
What I know for sure is that checkpoint is a sphere, and car is just a point. So to check if car is in checkpoint I just use the cars center position and if this point is in checkpoint then whole car is believed to be.
But IDK if there is something else wrong.
User avatar
CryHam
SR Moderator
 
Posts: 1047
Joined: 25 Nov 2012, 08:40

Who is online

Users browsing this forum: No registered users and 1 guest