Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, Quad, Grant), 8,062 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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