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
2 registered members (steyr, alibaba), 534 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Problems with movement #360183
02/22/11 17:29
02/22/11 17:29
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
I'm making fake vehicle (car, tank) movement and player is able to get out and in.
Each vehicle made with simple (without skin) rectangle (so collusions needs to be fast).
Vehicle has a c_setminmax on (I used to combine it with POLYGON but same result).
I use c_rotate, to rotate vehicle (cause it's BBOX isn't symmetrical) with IGNORE_PASSABLE and GLIDE.
Everything looks good, except that sometimes vehicles pass throw each other...
I can't really understand why... cause they don't pass throw map objects (with POLYGON and c_setminmax).
The script is big itself, but I can post it if needed. Help me someone. Thank you.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360306
02/23/11 13:02
02/23/11 13:02
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360374
02/23/11 19:47
02/23/11 19:47
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
THANK U ALL!!!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360453
02/24/11 02:31
02/24/11 02:31
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
I dont really understand the problem, post a video or a simple demo.

Re: Froblems with movement [Re: bart_the_13th] #360454
02/24/11 02:42
02/24/11 02:42
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Come on, 3run, you don't have any patience anymore ("THANK U ALL!!!", "fuck it!!!" [other topic])- you used to have, though.
My topics usually stay unanswered for a couple of days.


EDIT: I can understand that you may be frustrated from helping others and getting no help yourself, but you will need to explain your problems in more detail. Could it be that the ellipsoid collision detection with rectangle objects bugs you?

Last edited by Superku; 02/24/11 02:54.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Froblems with movement [Re: Superku] #360470
02/24/11 08:52
02/24/11 08:52
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
Sorry guys, I was really in bad condition yesterday. Sorry for such overreactions... I'll make a small video. I guess I didn't really give some details of problem.
BTW I think that problem isn't ellipsoid collusion (I have some problems with corners passing throw other models caused with ellipsoid bbox).
A bit later I'll post whole project and video demonstrating problem. Thank you guys.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360504
02/24/11 16:20
02/24/11 16:20
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
Here is a demo (around 800 lines of code):
Download link
Please, have a look, may be u'll see something that causes this problem.
And here is a video with problem:
Youtube link
Quality isn't the best, but you may also see the problem with decal shadows (I've made thread about that).


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360680
02/26/11 02:12
02/26/11 02:12
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
I see your code, and here's some suggestion(I'm away from my PC right where my 3DGS is installed right now)

-When your rotate your tank, try to remove USE_AABB, since it will rotate the entity WITHOUT any collision detection (see http://www.conitec.net/beta/ac_rotate.htm )

-your car action actually sets the pan instead using c_rotate. Though this has nothing to do with your problem since the collision error occurred even when the car is moving straight tongue

Re: Froblems with movement [Re: bart_the_13th] #360695
02/26/11 10:49
02/26/11 10:49
Joined: May 2009
Posts: 5,367
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,367
Caucasus
I've removed USE_AABB and used c_rotate for car turning. But I have no idea what can cause that "passing" problem grin
Thank u for helping me out. I appreciate it, will be waiting till u get home.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Froblems with movement [Re: 3run] #360721
02/26/11 14:05
02/26/11 14:05
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
"Vehicle has a c_setminmax on (I used to combine it with POLYGON but same result)."

Do you set a "wait(1);" before c_setminmax? Did you check the bounding boxes (by pressing F11 twice).


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Page 1 of 2 1 2

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