move object to destnation player position using raycast
Options
hi...
I want to move object in PUN environment where user clicks. Destination object position will be different in different app but i wanna do like that object destination click should be unique for all other app and object should move to that object
Is there is one who can answer me ?
thanx and expecting help
I want to move object in PUN environment where user clicks. Destination object position will be different in different app but i wanna do like that object destination click should be unique for all other app and object should move to that object
Is there is one who can answer me ?
thanx and expecting help
0
Best Answer
-
is the object you are talking about is the "PlayerCharacter" which different users playing your game can control separately?
if so then you can move the object locally and sync that objects location over the network, using steam.sendnext and stream.receivenext , read the PUNS documentations its there how to do that5
Answers
-
is the object you are talking about is the "PlayerCharacter" which different users playing your game can control separately?
if so then you can move the object locally and sync that objects location over the network, using steam.sendnext and stream.receivenext , read the PUNS documentations its there how to do that5