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
2 registered members (AndrewAMD, Quad), 7,643 guests, and 2 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
Attaching Entities and c_move #271816
06/15/09 08:21
06/15/09 08:21
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
hi! thanks a lot for your help.I have another problem though, after connecting the head and the body, when i use c_move on the body, it just goes all over the place. what could be wrong. With just the body, it moves in the direction i set but with the head attached, its going everywhere sometimes moving backwards.

Re: Attaching Entities and c_move [Re: shiznitIII] #271867
06/15/09 13:52
06/15/09 13:52
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
the body is probably colliding with the head
include IGNORE_FLAG2 in your c_move
Code:
c_move(me, vector(???, ???, ???), nullvector, IGNORE_FLAG2);


and set the flag2 of the head
Code:
set(HEAD_name, FLAG2);


Hope this helps
*untested*

Re: Attaching Entities and c_move [Re: MrGuest] #272047
06/16/09 10:34
06/16/09 10:34
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
thanks a lot. i had to set the relative vectors to 0 though instead of null


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