Stingray Forum (Read Only)
Welcome to Autodesk’s Stingray Forums. Share your knowledge, ask questions, and explore popular Stingray topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

create a portal in VR

3 REPLIES 3
Reply
Message 1 of 4
teachung
394 Views, 3 Replies

create a portal in VR

I encountered a problem.

I want to create a portal, when I enter the trigger_a area I will transfer to point 0,0,0

 

However, when I enter the trigger_a area, 3D max interactive will crash now.

 WkSvMgr 1252018 113449 AM.bmp.jpg

Have any solution to solve this problem?

 

Thanks a lot.

3 REPLIES 3
Message 2 of 4
Shanii2
in reply to: teachung

You havent created any sense out of your logic,. first you need to observe the folow nodes of VR how you actually move across the place,  and secondly trigger objects are triggered by a specifi physics template for 'character' template its trigger is 'Character_trigger' template.  for default template it is 'trigger' template, or you can creat your own collision templates in global physics file in root of your project directly , you need to first the basics,  and start from templates it would help better

Message 3 of 4
teachung
in reply to: Shanii2

I use Desktop VR template to create this scene.

 

I tried to use 'Character_trigger'  but nothing happen.

And I tried using'  trigger' template, is work when I shooting the laser point to touch the 'trigger' template.

 

 

Message 4 of 4
Shanii2
in reply to: teachung

You cant get results out of the box you must understand the basics.....  a trigger is actually ann invisible physics body which when collides with a matching template of it, fires out a trigger event. look in the .global physics file to know how the collision filters actually work and you can create your own..  most people in VR are confused by this...   HMD IS NOT A COLLISION BODY............... it's just another sorta camera giving VR view...    You need to Attach an object with it.. you can parent link the Player capsule unit object with HMD's Local pose and rotation and assign it the Physics actor template of character trigger...   Physics work with the real object not arbitrary, camera's, locators, Hmd's....    the way the laser pointer is working is that a Small spot point 'unit' is spawned dynamically each time it hits a surface.. and a physics is applied on that Units mesh...Check up the help docs to understand the basics first. You can also use the raycast .. as well if you don't want to do with mesh physics , cast a ray from hmd's position onto a surface and by giving it a template you can trigger the Portal effect.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report