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
2 registered members (AndrewAMD, TipmyPip), 12,400 guests, and 5 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
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