Transform the grabber in the content example to c++ code

how about that ? We can trace an object through the cam and test if it has a grab tag, if it does then we would add a physical handle to the object by pressing a button, and attached to the actor which in this case is the player. Please correct me if i’m wrong and thank you.

So kind of like ray casting it to the cam dependent of how far away it was from the cam? I like it :slight_smile: .

Yeah but more like depending on what tag you give the actor, i.e. if it has a ‘drag’ tag then you attach a physics handle, otherwise either you test on another tag or simply do nothing.

Privacy & Terms