Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/06/26 07:18
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 5,487 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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,111
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,111
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 | 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