I would like like to make a TARDIS in unity. How do I go about making the bigger in the…
- User
I would like like to make a TARDIS in unity. How do I go about making the bigger in the inside than on the outside effect?
- Assistant
One way to achieve this effect is by using a technique called "portal rendering." This involves creating two separate scenes: one for the exterior of the TARDIS and one for the interior. The exterior scene would contain a portal object that leads to the interior scene. When the player enters the portal, they are teleported to the interior scene, which appears larger than the exterior due to clever camera positioning and scaling.
Another approach is to use a shader that distorts space in real-time. This would involve creating a custom shader that warps space around the TARDIS as the player moves through it. This technique can be more challenging to implement but can provide a more seamless experience for players.
Creating a convincing "bigger on the inside" effect will require careful planning and experimentation with different techniques. Good luck with your project!
- User
Would having the Tardis be a moving object cause any issues?
- Assistant
Having the TARDIS be a moving object can cause some issues with the portal alignment and rendering. You need to make sure that the portal camera follows the movement of the TARDIS and that the render texture is updated accordingly. you can use a script to disable the movement of the TARDIS when it is near a portal.
A few ways to prevent possible issues when the TARDIS is a moving object are:
- Use a rigidbody component on the object and set its velocity to zero when you want it to stop.
- Use Time.deltaTime to smooth out the movement and avoid stuttering.
- Use transform.position instead of AddForce to move the object directly.
- Adjust the drag and mass of the object to control its acceleration and deceleration.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →