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
1 registered members (Ayumi), 662 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
Kinematic mode has no collision detection? #374142
06/15/11 20:55
06/15/11 20:55
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
A little question:

when I set the kinematic flag of a rigid body physics entity,
it goes straight trough walls, and the ground.
the manual says it should have collision detection, but it hasn't.
The manual example doesn't work either for me.

I have already posted posted this question, but I don't expect it to be answered there, so I posted it here


Check out the throwing game here: The throwing game
Re: Kinematic mode has no collision detection? [Re: Roel] #374146
06/15/11 21:19
06/15/11 21:19
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Kinematic entities are not affected by any force. So what happens when an unstoppable force hits an immovable object? They go through each other. The collision detection mentioned is collision detection with other non-kinematic physics objects -- they'll get pushed out of the way, no matter how heavy, but can't push back at all.

I hope that makes sense.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Kinematic mode has no collision detection? [Re: JibbSmart] #374147
06/15/11 21:28
06/15/11 21:28
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
from the manual I understand that they do perform collision detection, just like ph_char and c_move

this is what I read from the manual

Kinematic entities (NX_BF_KINEMATIC) and character controllers (PH_CHAR) are moved with collision detection. Depending on friction, relative position changes must exceed a certain threshold for moving the entity. While moving, forces have no effect on them.

I could be wrong, still...
but the kinematic entities seem to even pass through level geometry


Check out the throwing game here: The throwing game
Re: Kinematic mode has no collision detection? [Re: Roel] #374152
06/15/11 22:29
06/15/11 22:29
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
I think you're right, actually. I was thinking about the wrong thing, and then applied it to this to become even more wrong.

This might be a silly question, but did you set the level entity to a physics entity?

I don't actually know anything about using PhysX.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Kinematic mode has no collision detection? [Re: JibbSmart] #374171
06/16/11 06:58
06/16/11 06:58
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
In the first place I tried it with static physic entities,
but the kinematic entities also fall through them.


Check out the throwing game here: The throwing game
Re: Kinematic mode has no collision detection? [Re: Roel] #374179
06/16/11 08:00
06/16/11 08:00
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
To clarify: JulzMighty is correct. Kinematic entities do collision detection. They can push other entities out of the way. But they seem unaffected by collisions themselves. At least, that's my observation when I put an obstacle in their way.

Re: Kinematic mode has no collision detection? [Re: jcl] #374182
06/16/11 09:08
06/16/11 09:08
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
they also aren't affected by level blocks and static entities?
then I must have read something wrong in the manual.

thanks for the answers


Check out the throwing game here: The throwing game
Re: Kinematic mode has no collision detection? [Re: Roel] #374233
06/16/11 15:12
06/16/11 15:12
Joined: Sep 2003
Posts: 648
Switzerland
snake67 Offline
User
snake67  Offline
User

Joined: Sep 2003
Posts: 648
Switzerland
We all are lerning while doing (posting)... wink


Moderated by  old_bill, Tobias 

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