assembly view

assembly view

vredeye
Enthusiast Enthusiast
227 Views
1 Reply
Message 1 of 2

assembly view

vredeye
Enthusiast
Enthusiast

Hi

Is there a way in vred to bring different parts to gether and set them also apart like form an assembly and then be able to move around and assemble parts ? 

i know we can _movable , but i think in this case i would need to know the parts beforehand 

would it work if i set all the parts to _movable ? 

Or if i can case vrCollission or vrPhysics to detect a collission with a node and then move that node ?

Any tips would help

Thanks

0 Likes
228 Views
1 Reply
Reply (1)
Message 2 of 2

vredeye
Enthusiast
Enthusiast

how many nodes max is it allowed to add to addKinematicObject ? i was trying to add all the objects in a model it looks like app crashed 

 

I used vrScenegraphService.getAllNodes() to get all the nodes , and passed all the nodes to addKinematicObject , also tried manually looped through

 

" vrPhysicsService.addKinematicObject(node, config) Adds a kinematic object to the physics simulation."

 

0 Likes