2
$\begingroup$

I tried to do it in with actuators, but so far either the animation gets stuck, or it hangs up on a direction if you let go of one of the keys. Help?

Edit: I added the logic I'm using so far. The actions are displaying one frame of the rotate animation, each frame is a different rotation. This was my workaround for the question above, but when I hold down and right, and let go of right, it stays in the same orientation but goes downwards. Is there any way I can either fix this setup, or is there a way I can make the object point in the direction it moves?

Edit #2: I changed the program, making a logic brick for each key, and another for each one not being pressed. It works, going left or right makes the block display the up/down frame but then quickly changes to the left/right frame. Also, The jumping doesn't seem to work moving diagonally, except when moving up and to the right. If you could take a look at the blend file and let me know what I did wrong, that would be great.

$\endgroup$
  • 1
    $\begingroup$ Please provide more information from your logic configuration, some images and/or scripts so we can help you. $\endgroup$ – Strapicarus Oct 28 '17 at 19:08
  • $\begingroup$ I have now edited the post to clarify. $\endgroup$ – ThundariusZ Oct 28 '17 at 19:23
  • $\begingroup$ Have you try activating Add in all action actuators? $\endgroup$ – Strapicarus Oct 28 '17 at 22:39
  • $\begingroup$ Also you can provide a blend (if you want to) through https://blend-exchange.giantcowfilms.com/, copy and paste the link in your question. $\endgroup$ – Strapicarus Oct 28 '17 at 22:44
  • $\begingroup$ Alright, I made another edit and incorporated the blend file. I rewrote the logic bricks for the cube as per the edit details. $\endgroup$ – ThundariusZ Oct 29 '17 at 17:50
0
$\begingroup$

I made it diferent as you was doing it but i think its more easy this way.

Instead using animation i add 8 cubes rounding the cube player and make them vertex parented with no collition physics and add 8 edit object actuator set to track to for each cube.

enter image description here

Abd here the blend.

$\endgroup$
  • $\begingroup$ I edited my logic in the way you suggested and..... it worked! Thanks for the help! $\endgroup$ – ThundariusZ Oct 30 '17 at 2:05
  • $\begingroup$ You can download the blend that i made for a more closer look. $\endgroup$ – Strapicarus Oct 30 '17 at 4:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.