Announcement

Collapse
No announcement yet.

How to scale multiple objects and keep their distance at runtime.

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

    How to scale multiple objects and keep their distance at runtime.

    https://answers.unrealengine.com/que...eir-dista.html
    I don't have any answer in about 2 days so i'm posting it here as well.
    I'm trying to get the same effect on an actor as if i'm scaling it's parent just without the parent.
    I need to know how to calculate the positions of the actors with relation to each other and to a center point( where the parent would be usually ).
    Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

    #2
    idea would be to parent (AttachTo) each Actor into an empty Actor in the Scene, and set "Keep World Location", that way it should be possible to scale each child actor of the parent without moving their Positions.

    Comment


      #3
      Originally posted by Chaosgod_Espér View Post
      idea would be to parent (AttachTo) each Actor into an empty Actor in the Scene, and set "Keep World Location", that way it should be possible to scale each child actor of the parent without moving their Positions.
      Thanks but I want to do it without a parent. Only with math and transfoms manipulations. It needed to be implemented with an existing system and I dont want to add actors unless Im really have to.
      Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

      Comment

      Working...
      X