Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
How to make portals or non-euclidean geometry?

fivezeros
Registered User
Quote
2017-08-22 08:25:07

How to make cube with one doorway in it, and behind the doorway - room much bigger than cube? I have no clue how to do something like that in CC Engine. Any guesses? Thanks.


just_in_case
Moderator
Quote
2017-08-22 12:38:11

First create a room mesh big enough to your desire.. now make it invisible...
Now create portal.. either by using particles or by using any other prefab... Then assign behavior on proximity do something to that portal ...

On proximity with the player do something.. add action hide and show a scenenode.. and then make the room visible... And add another action to the same proximity behavior. . Change position of a scene node.. and change the position so that the player can get in the room.. don't use move animated option....

And a sidenote for better portal creation... Create 2 portals.. one for entering the room and another one for exiting the room.. and in the above change position action.. you can simply..

Use the change position relative to a scenenode..and use the other portal for the relative scene node.. so that you dont have to manually configure the positions to enter the room...

Hope it helps..!


fivezeros
Registered User
Quote
2017-08-22 13:44:56

Thanks, but i mean make visual illusion (look through the portal to bigger room) like in this video https://youtu.be/thK9lnZJkbA and also possibility to walk across the teleport seamlessly (non-euclidean geometry).


fivezeros
Registered User
Quote
2017-08-24 18:36:19

I think i can use water for this, it's looks not like i need, but already very close to this. Also i find somethink what called "Render Target Texture" and "Stencil buffer" (http://en.wikibooks.org/wiki/Ope...), but can't understand how to do this in CC Engine.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact