First time posting on here… So I am going to just verbatim fill out the prompt.
-
What do you want to achieve? Keep it simple and clear!
I have a Hex Tile that I animate by setting the Animation then setting Animation Play speed to 0
I then set the Time based on some distance values of the player. This much of the code works great.
Then issue I am having is that when I rotate the model via its animation(bone animated in blender)
I do not know how to rotate objects with it. Its like they ignore its rotations.
I noticed that the object really does not rotate but only the bone which is fine. How can I make, say A tree that I add rotate with the Tile?
- What is the issue? Include screenshots / videos if possible!
Objects within the tile need to rotate with the tile via the Bone Orientation.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have attempted the following
- add Attachments to both the bone and the tree then use AlignOrientation
2.WeldConstraint
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Per the video I wish to have the objects I place onto the tile to keep orientation with the tile. I want to add and build these tiles at the time of building the level So I want to be able to assemble them via LUA and add and setup what is needed. this way I can have the tiles build a world from a table.
I can do the rest just need the objects to keep orientation.
-- This is an example Lua code block
animationTrack:Play()
animationTrack:AdjustSpeed(0)
animationTrack.TimePosition=("Percent times length of Animation")
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.