Announcement

Collapse
No announcement yet.

moving a blueprint class ends with wrong end value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    moving a blueprint class ends with wrong end value

    Hi guys,

    I have a blueprint actor that contains a cube. This cube will move up and down depending on which actor overlaps the cube.
    And while this works, there is a slight problem i can't seem to solve.

    When the cube starts moving, using a timeline to move it up/down the Z axis, it will finish higher than it started.
    For example: it starts at Z=0, but ends at Z=5 (while in the timeline i make it return to z=0).
    I tried storing a initial location, but because the cube is a component of the blueprint, i cant get the actor location. Using the world location doesn't seem to store the right values either.

    Hopefully someone here could help me out.
    Thanks.

    #2
    Hmm odd. You said your cube is a component in the blueprint, make sure that cube has the location set to (0, 0, 0). It's possible that the timeline is correctly setting the Z of your actor to (0, 0, 0), but because your component isn't exactly on the actor's pivot it seems as if it's too high.

    Comment


      #3
      Yes, that was it. Pff how could i miss that. I spend hours trying to fix it. hahaha. Thanks.

      Comment

      Working...
      X