Commit eeae2e9
feat(InteractableObject): add a rigid body if missing
If no rigid body is found when InteractableObject starts up, it will
add one, but make sure the rigid body is set to 'kinematic' so it
doesn't start unexpectedly rolling around, popping up, or falling.1 parent be64a8c commit eeae2e9
File tree
1 file changed
+7
-0
lines changed- Assets/SteamVR_Unity_Toolkit/Scripts
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
257 | 264 | | |
258 | 265 | | |
259 | 266 | | |
| |||
0 commit comments