Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Player Collision Detection #137607
06/22/07 06:10
06/22/07 06:10
Joined: Jun 2007
Posts: 1
H
Hacker7599 Offline OP
Guest
Hacker7599  Offline OP
Guest
H

Joined: Jun 2007
Posts: 1
I have chosen to write my own scrips for my first game. I have an Entity which is the player and I have created my 1st person camera. The camera follows the player perfectly. But an unusual problem occurs. When I move the player it will go through the wall from the inside but when I try to come back through the wall from the outside it wont let me. Basically I wanna know how I can make my player detect the wall so it doesnt go through it.

Thanks.

Re: Player Collision Detection [Re: Hacker7599] #137608
06/22/07 07:43
06/22/07 07:43
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
many differents ways...

- first try to set in player's action: my.fat = on; my.narrow = off;
- if this not help try to replace above with: c_setminmax(me);
- check your fat and narrow hull offsets in build properties
- you may add to your c_move function - glide mode and use_box
- you may change colision detection adding to player's action: my.polygon =on;
- you may add trace function from player's position with some quants ahead to avoid penetrating walls.
- and more...

Last edited by tompo; 06/22/07 07:43.

Never say never.

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