Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/06/26 07:18
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 5,052 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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