Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Falling Through Entities #11719
02/03/03 09:10
02/03/03 09:10
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
First off, I wasn't sure which forum I should post this in, so I'd like to apoligize before I get 500 people yelling at me.

I am making my own movement function from scratch, and what it does is i make a couple vector that keeps track of about unit below the players feet. I trace from one vector to another, and if the trace makes it all the way across (then there is obviously no object there to block it) then i move the player down a little bit. So this way, the player falls down if nothing is below him.

Now here's the problem:
When I use a .mdl for my ground, it doesn't always register right. Like I can make just a normal block and walk around on it and he'll fall down when he's still got a ways to go before the edge. It's like the engine does'nt accurately read where the block begins and ends or something.

Re: Falling Through Entities #11720
02/03/03 10:18
02/03/03 10:18

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Yeah a5 doesnt have the greatest collision detection on .mdl models for surfaces. It would be best to use blocks or map entities

Re: Falling Through Entities #11721
02/03/03 10:42
02/03/03 10:42
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
but then i couldn't really make a block that moves back and forth like on a simple platform game or something since i can't make the blocks move.

Re: Falling Through Entities #11722
02/03/03 12:28
02/03/03 12:28

A
Anonymous
Unregistered
Anonymous
Unregistered
A



yes you can. YOu have to make a map entity, meaning you build your moving block as one level, then build the map. Then in your main map, go to load map entity and load the file and then you can add the action to it [Smile]

Re: Falling Through Entities #11723
02/04/03 06:44
02/04/03 06:44
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
That was just one of the reasons i want to use models, but i guess since you got me there...i just want to use .mdl's okay [Mad] , lol. But ya, cause they are easier to customize and skin so they look better instead of texturing. I'm not going for a huge level here, so a model and a skin would cover it.

Re: Falling Through Entities #11724
02/04/03 07:16
02/04/03 07:16

A
Anonymous
Unregistered
Anonymous
Unregistered
A



mkae sure your models are aligned at the origin correctly in med, so they wont fall through things. The collision is based off of the first frame of animation.


Moderated by  HeelX, Spirit 

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