Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c_move: vertical-glide on entity-entity-collision #132552
05/29/07 15:53
05/29/07 15:53
Joined: May 2004
Posts: 53
r0b Offline OP
Junior Member
r0b  Offline OP
Junior Member

Joined: May 2004
Posts: 53
Hi,

is it possible to glide over an entity vertically?
E.g. a player-model that glides over a table-model (with table_height < player_height/2)

I'm using c_move this way:
Code:
 c_move( my, vector( key_force.y * time, 0, 0 ), nullvector, GLIDE ); 


everything is working fine except of vertical-glide on collision with entities...


thanks in advance
rob

Re: c_move: vertical-glide on entity-entity-collis [Re: r0b] #132553
05/29/07 17:16
05/29/07 17:16
Joined: May 2005
Posts: 155
C:\Program files\GStudio6
alphaindigo Offline
Member
alphaindigo  Offline
Member

Joined: May 2005
Posts: 155
C:\Program files\GStudio6
the glide flag is used to make enities glide allong walls etc, to do what you want and make an entity walk over a table you would need to use c_trace. C_trace to a position below the player and then move tha player on the z axis. like this: Code:
 
vec_set(temp.x,my.x);
temp.z -=600;
my.z -= c_trace(my.x,temp.x,IGNORE_ME|USE_BOX|IGNORE_PASSABLE)-3;




beware the sock! - tLempoary...

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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