I’ve been working on a telekinesis ability that can control a traced target and can be controlled with WASD and the mouse using a Physics Handle Component.
Prior to adding a lock on feature for the follow camera to the object you’re moving; using the left or right telekinesis inputs would allow for the object to move and then stop moving when the inputs were released. Now with the camera lock on blueprint code I’ve added, the object continuously moves faster and faster unless opposite input is added to make it move the opposite direction.
If anyone knows any way to help fix this it would be greatly appreciated!
It looks like its looping with a tick event: box moves → camera adjusts → camera moves box → camera adjusts → etc.
You could have the box independent from the character entirely: on pickup → disable input on character → enable input on box actor → move the box and character just looks at → when release disable input on box | enable input on actor.
I should have mentioned that when I pickup the ability, the character input is no longer in use until the object is let go. I’m not sure how I would be able to enable input on the box actor, could you explain a bit more?