I have a problem with a spawn actor.

Hello i have created an actor that when jumping two times in the second hop takes(spawn an actor with an umbrella) an umbrella to descend more slow, all correct, but as the character with the umbrella is larger than without the umbrella, there is a problem with control camera , which gives a small lag to be larger the character of the umbrella, is there any way to fix it, thanks.

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    You could try to have the images of the character without the umbrella to be in the same sized document as it is with the umbrella opened character. That way, the actor doesn't change size, and play havoc with the camera.
  • agueisagueis Member Posts: 420
    Hello, explained better, my actor when you press two times the jump button, changes to a character with umbrellas, and when the character with umbrella touches the ground , converted back into the actor without an umbrella and is there when the lag occurs in the main image, with size of 15 000 by 768, it is not a problem the size of the actor, this problem i have seen that disappears if you cleared camera control in all the actors but could not advance ,greetings.
  • agueisagueis Member Posts: 420
    anyone help
  • Neil TNeil T Member Posts: 25
    why not just change image rather than spawn actor, and add attributes affecting the gravity to the riule when changing image?

    Spawn Actor caused similar issue with my game and I ended up doing the above, which resolved the issue
  • agueisagueis Member Posts: 420
    Hellow Neil T, it´s not so easy because the actor hero size is different of the actor hero with the umbrella choosing change image, and if i only spawn the umbrella is difficult to the umbrella follow the actor hero, any idea?
  • Neil TNeil T Member Posts: 25
    constrain the umbrella x and y to the main actor?
  • agueisagueis Member Posts: 420
    can you pass me a link to do that? , thanks
  • agueisagueis Member Posts: 420
    i don´t see in this foro that people helps very much...
Sign In or Register to comment.