which I have achieved, but I have an issue where the tree also falls when i shoot a physics object at the tree which I dont want it to do. at the moment the top half of the tree is sort of ‘balancing’ on the base of the tree as i cant figure out a way of turning on and of the physics simulation for a child actor. I loosly followed a short youtube series on how to make chop-downable trees: and modified the blueprint to get the result im currently at.
This is the current layout of my Tree Blueprint, as you can see the top half (the part that collpses) is a **child actor. **Now I know nothing about child actors, however I use it as a bruteforce method to get this to sort of work.
Anyway, after all that, what im trying to ask is: Is there a way to Turn ON and OFF the physics simulation of a **Child Actor **from within a **Blueprint **containing the child actor?
I understand that you could use global variables to tell the TreeTop blueprint to turn on the physics sim but that would affect ALL trees in the game. if that isnt possible, is there a better way of doing what im trying to achieve?]
Also, is there a way to make it so that actors cant interact with Physics Objects?
if anyone manages to understand this, then I applaud you.
Of course, but heres my issue, unless im stupid and dont understand what the hell im doing: Casting to the child actor doesn’t give me access to the ‘Set Simulate Physics’ component of the blueprint which is attached to the child actor.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_187716_1585914438957_346”,“title”:“CantCastToSimPhys.PNG”}[/ATTACH]
https://forums.unrealengine.com/core/image/gif;base64
This prevents my connecting the ‘Tree Top’ to the ‘Target’ as it doesnt contain any information about ‘Set Simulate Physics’ due to it being a child actor.
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_187717_1585914550826_6”,“title”:“childactor.PNG”}[/ATTACH]
https://forums.unrealengine.com/core/image/gif;base64
This is inside the child actor, I cant remotely change the physics sim of the ‘collider_Blueprint’ from the child actor.
The Child ‘collider_Blueprint’ is the part of the tree that I want to fall over, but what im saying is i dont know how to tell the child actor to turn on the physics simulation as there is no option under the Child Actor component
Just so you know, the reason im using a Child Actor component is because I need to access the blueprint inside to spawn 3 logs in place of the child actor. If you know of any better way of doing this it would be a fitting solution to my problem