voicu4321
(voicu4321)
March 30, 2023, 3:23pm
1
So I think the title sums it all up, i ve tried casting to another bp but nothing worked.
Simulating Physics in the first blueprint
Trying to cast in the second one
Hey there
If you want an actor doing something when another actor does something, the best approach is usually to create Event dispatchers.
voicu4321
(voicu4321)
March 31, 2023, 10:21am
4
i tried to do it with a string but the event won t fire
It should be something as simple as this
Your Player Character BP
The BP in which you bind the Event to the Player Character
it’s important to make sure your Player Character has spawned and is fully setup before binding anything to it.
voicu4321
(voicu4321)
March 31, 2023, 8:56pm
6
i always set my bind target to the as bp player character, not the player, i will surely try this tommorrow, thank you!
voicu4321
(voicu4321)
April 3, 2023, 1:15pm
7
it still won t work, i guess i just don t get it…
voicu4321
(voicu4321)
April 30, 2023, 1:12pm
8
after many tries I managed to find out how to do it, here is the code
it may not be the best way, but it worked for me =)
How do you simulate physics in editor unreal?
If an Object has mobility set to Movable and it has a simple collision, you can click the check flag Simulate Physics in the Physics Rollout and the Object will be simulated when Simulate in Editor or Play in Editor is clicked.