Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Grant, AndrewAMD), 911 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | chip programmers | 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