3DSawnikku
Relic Team
Pro Coder,Rigger,Animator,GIMP-er,Etc
Posts: 647
|
Post by 3DSawnikku on May 17, 2012 19:10:02 GMT -5
I need some help with this,I want sonic to Have rings come to him while boosting or having electric shield any tips or help?
|
|
|
Post by chaosshadic456 on Aug 24, 2012 16:34:22 GMT -5
use MoveToEntity or something like that, play with the code and maybe you will find it.
|
|
|
Post by Marble (LS5) on Aug 24, 2012 17:09:20 GMT -5
It's more complicated than that. You need to face the rings toward Player, and move them on an axis.
|
|
|
Post by chaosshadic456 on Aug 24, 2012 17:32:17 GMT -5
well, he can use this: If (Abs(EntityX(p\Objects\Entity) - o\Position\x) < 65) And (Abs(EntityY(p\Objects\Entity) - o\Position\y) < 65) And (Abs(EntityZ(p\Objects\Entity) - o\Position\z) < 65) And (p\Action = ACTION_BOOST Or p\Action = ACTION_AIRBOOST) Then PointEntity(o\Entity, p\Objects\Entity) MoveEntity(o\Entity, 0, 0, 6*d\Delta) EndIf
|
|