|
|
# System to grab object in VR:
|
|
|
|
|
|
## Principle:
|
|
|
- On trigger input (grab):
|
|
|
- calculate the nearest component castable to Bp_grappable
|
|
|
- return this component
|
|
|
- disable physics on the object and attach it to the motion controller that trigger
|
|
|
- On trigger input (release):
|
|
|
- activate physics to the object and detach it
|
|
|
|