duck

duck

Nov 15th, 2010
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class MyScript : MonoBehaviour {
  5.  
  6.     InteractiveCloth cloth;
  7.  
  8.     void Start() {
  9.         cloth = GetComponent<InteractiveCloth>();
  10.     }
  11.  
  12.     void FixedUpdate() {
  13.  
  14.         cloth.AddForceAtPosition( blah....  )
  15.  
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment