[ad_1]
I’ve arrange a easy code that enables the participant to make use of a line hint to choose up objects and assign them to one among three sockets on the character mesh.
I then arrange the flexibility for the participant to cycle between gadgets in ‘pockets’ and gadgets in hand, in addition to dropping the gadgets.
Everything works nice. The participant can choose gadgets up and drop them, in addition to cycle them between hand and pocket, so long as ‘Simulate Physics’ is ready to false on the merchandise that’s being picked up. Anything the participant interacts with that has ‘Simulate Physics’ enabled falls by way of the ground upon interplay. that is the physics settings of the item: [![
I want the code to permit me to choose up physics gadgets. I consider that the ‘Set Actor Enable Collision’ is the difficulty as when this isn’t within the loop the Actor doesn’t fall by way of the bottom, nonetheless I have to disable the Actors collision with the participant in any other case motion is hindered. I do not perceive why the ‘Attach Actor To Component’ would not maintain the Actor in place when the Actor ‘Simulate Physics’ is ready to true.
[ad_2]