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
2 registered members (AndrewAMD, VoroneTZ), 1,258 guests, and 4 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
Player rockets out of game area #454583
09/10/15 21:55
09/10/15 21:55
Joined: Aug 2013
Posts: 101
M
mschoenhals Offline OP
Member
mschoenhals  Offline OP
Member
M

Joined: Aug 2013
Posts: 101
Hey all,

I'm having an issue where if the player presses up against a wall or model, the player shoots skyward and out of the game play area. I'm using a modified version of the AUM PRG code. I think this may be the issue - the USE_BOX flag. Any ideas on what I should try?

Code:
my.z -= c_trace(my.x, temp.x, IGNORE_ME | IGNORE_PASSABLE | USE_BOX) - my.dist_to_ground; // place player's feet on the ground - play with 30


Re: Player rockets out of game area [Re: mschoenhals] #454584
09/10/15 21:57
09/10/15 21:57
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
U checked out this?

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=425264

edit: The code above is the most "simple" gravity so no good solution, just saying.

Last edited by rayp; 09/10/15 21:58.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Player rockets out of game area [Re: rayp] #454588
09/10/15 23:17
09/10/15 23:17
Joined: Aug 2013
Posts: 101
M
mschoenhals Offline OP
Member
mschoenhals  Offline OP
Member
M

Joined: Aug 2013
Posts: 101
Thanks for the input. However, I believe it's an issue with bounding boxes that overlap. The player shoots out at points where the walls are the narrowest (eg: door frames).

Re: Player rockets out of game area [Re: mschoenhals] #454607
09/11/15 13:36
09/11/15 13:36
Joined: Aug 2013
Posts: 101
M
mschoenhals Offline OP
Member
mschoenhals  Offline OP
Member
M

Joined: Aug 2013
Posts: 101
The link you provided is dead. Just takes me to the Infinity Compact Dictionary.

Re: Player rockets out of game area [Re: mschoenhals] #454612
09/11/15 18:00
09/11/15 18:00

M
Malice
Unregistered
Malice
Unregistered
M



Yes I noticed that before, many of Superku's "tips of the week" are just gone. But sure if all, or this is a accident after he pulled down the MP tip before the AUM release.

However with his education and job and a greenlight, I'm not going to bug him with this kind of thing.

@mschoenhals, everyone here with over 500 post, can write you a working player. P.s. payments get work done quicker and better and provide you some limited ownership( if done under contract and barring the boarder jumping of this forum, i.e. It can be hard to enforce a contract via USA to European nations.)


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