What is wrong with my code

My GRAB code used to work before refactoring but now it doesn’t.
Trying to find what is wrong but couldn’t.

Can you help me to find why I can’t grab the objects on the scene.
Is there something wrong with my code?

Here is my code

Are the things you are trying to grab set to be PhysicsActors?

Yes they are, I checked my code from different sources and also tried them. I still can’t grab any object. I think the problem is with not code.

Have you tried adding logs to see where it might be failing? e.g. is Grab even being called?

Today, I tried to play the Game in Editor again. This time everything works. Problem was with the editor i guess. Solved by itself.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms