[Tutorial] Create a generic object mover

 

I have created a tutorial (sorry for my accent) to make a generic object mover.

Just connect the world transformation to the pin in the Unreal Scene that controls the object and you can then control the object from the keyboard or midi or however you desire to move the object.

You can also daisy chain objects. The chained objects could follow the movement of the first object but can also move independently.

You can use it to control the camera without losing the A-B functionality.

It can also be used to move the billboards (that was my initial goal). More on that in another video or post.

The best thing is that you can also animate the objects by manipulating the left-right-up-down etc triggers.
The even greater thing is since the movement is relative to the original transformation if you create an animation for one object you can apply it to any object. 

So if you create an animation for an object to move in an 8 path, you can just use the same animation, without any changes to another object(s). So we could have libraries of animations (parametric).

I will also later post the completed compound (although it is very easy and fast to create it from scratch following the video)


https://youtu.be/FUd2H2a49lY

   buffos

 
Profile Image
ahmed ahmed
  -  

Thanks for sharing this tutorial 

 
Profile Image
buffos
  -  

Here is the actual ObjectMover compound. It also has the DirectionMover compound included since it uses it.
Added a reset trigger , to reset InitialDelta values to zero

https://drive.google.com/file/d/1nK9PcCzQ1XpKa2hT2d4uvDDm_Py7mTSq/view?usp=sharing

 
Profile Image
buffos
  -  

Here is how to use it with a camera. No need to edit the camera compound. You just bypass the cam transform with the mover and then use the controls (assigned to wherever you like) to move the camera


 
Profile Image
buffos
  -  

Last but not least, moving the billboards using the object mover requires a little bit more work since the data are in a collection and we have to move not only the billboard but the reflection, the shadow, and the AO 



Keep in mind that when the billboard is rotated (thus in portrait mode) the controls are messed up (right is down, up is front etc). So making a new version for a portrait billboard renaming and reordering the exposed pins is much easier.


Connecting to the Cam-Scene combo is as easy as the camera bypass



We also need to take care of the Add transform when we are getting transformations from other objects since the axis are flipped and we have to take care of that.

 
Profile Image
buffos
  -  

You can combine the camera AND the billboard, move the camera, and the billboard will follow





 
Profile Image
buffos
  -  

Here is the BillboardMover and BillboardMoverPortrait for rotated Billboards


https://drive.google.com/file/d/1KfQjti7FUOSsp55KcSbgvSxkugzSv29Q/view?usp=sharing

 
Profile Image
Aximmetry
  -  

Hi,

Thank you. We really like it.

Small hint: Incremental module can also be used as some kind of "memory".

Best Regards

 
Profile Image
buffos
  -  

@Aximmetry


Thank you. Thank you for the hint. I will explore it! :)

I will now try to see if generic animations can work.

 
Profile Image
Fullman
  -  

Thanks for sharing this good idea. But I can't move the billboard with the camera following it. I just want the effect that an actor is standing on a boat moving forward while the camera follows. It seems the background moves backwards.

 
Profile Image
Eifert@Aximmetry
  -  

Hi Fullman,

You could consider moving everything in Unreal except the boat, the billboard, and the camera. In most cases, it is irrelevant what is being moved in the virtual world for the render engine.
Otherwise, you will have to move the boat from Aximmetry.

If you can share a screenshot of your set up in Aximmetry, it can help us lot in a figuring out what goes wrong.

Warmest regards,

 
Profile Image
Fullman
  -  

Thank you, brother Eifert. I will try it as you suggest. If I have difficulty I will be here again to consult you.

 
Profile Image
Kikilo
  -  

Hello. I use billboard mover and object mover. I have a billboard in a balloon. If I move the balloon and the billboard, the billboard move is 3x faster. If I scale the balloon to 3, they move the same. Is there a solution? 


 
Profile Image
buffos
  -  
Have you tried to manipulate the transform out of the object mover? A "scale all" node could possibly be used in between. Evidently, altering the scale will alter the speed, just as in the real world. The speed is measured in units per second, so if your initial units were 1 m and your new units are 2 m, the speed has doubled.
 
Profile Image
Faz Virtual
  -  
 
Profile Image
buffos
  -  

Auto backup, breaks sharing in google drive

Here is a new link

https://drive.google.com/file/d/1FLFMicZnmb-kleIJ-U2nWRhh9s7GB1VL/view?usp=sharing



;