I'm working on a mobile multiplayer game. It's is for a project about haptic feedback, so correct vibration is crucial. For the vibration patterns I use the TouchSense Plug-In by Immersion.
I need the vibration patterns to play only on the client side, so no every player gets the feedback of everyones actions.
Vibrate device only on client side
I need the vibration patterns to play only on the client side, so no every player gets the feedback of everyones actions.
Code (CSharp):
- [SyncVar]float rampTimer;
- if(touchingGoal==true){
- CmdRampUp():
- }
- }
- CmdTouchingGoal ();...