Categories
Game Creation Mastering Development

Can I set the unity camera to have the same position in a real world?

I have a problem about setting the camera in the unity to have the same extrinsic parameters as my real world camera to the origin. So let’s me describe my problem step by step. I have a camera in a real world and Its extrinsic to an aruco plane was calculated. So I use the […]

Categories
Game Creation Mastering Development

Difference between Game Engine vs Physics Engine vs Geometric modeling kernel

I am currently studying the game development. “The rendering engine generates animated 3D graphics by any of a number of methods (rasterization, ray-tracing etc.). Instead of being programmed and compiled to be executed on the CPU or GPU directly, most often rendering engines are built upon one or multiple rendering application programming interfaces (APIs), such […]

Categories
Game Creation Mastering Development

How do I implement corner correction in a platformer?

I’m writing a platformer in Unity and I’m trying to make it so that when the player jumps up to a ledge but barely misses (imagine they hit their toe on the ledge, or maybe even their foot, I’ll play with the values) they are nudged up onto the ledge instead of not making the […]

Categories
Game Creation Mastering Development

Making an object orbit using c# script for Unity+Vuforia

I have written a simple c# script for Unity+Vuforia. I want to create a simple sample project where an object like a sphere is revolving (orbiting) origin (0,0,0) above image target. The code I have written is here using System.Collections; using System.Collections.Generic; using UnityEngine; using Vuforia; public class Orbit : MonoBehaviour { float angles; float […]

Categories
Game Creation Mastering Development

Unity – Issue applying Render Texture to object imported from Blender

I’m new to Unity and am trying to create a sort of CRT computer monitor/terminal with text. To draw the text, I set up a Text Mesh Pro with its own camera, which renders to a Render Texture. I then designed a simple computer monitor model in Blender split into two objects: one for the […]

Categories
Game Creation Mastering Development

Unity – Issue applying Render Texture to object imported from Blender

I’m new to Unity and am trying to create a sort of CRT computer monitor/terminal with text. To draw the text, I set up a Text Mesh Pro with its own camera, which renders to a Render Texture. I then designed a simple computer monitor model in Blender split into two objects: one for the […]

Categories
Game Creation Mastering Development

Unity – Issue applying Render Texture to object imported from Blender

I’m new to Unity and am trying to create a sort of CRT computer monitor/terminal with text. To draw the text, I set up a Text Mesh Pro with its own camera, which renders to a Render Texture. I then designed a simple computer monitor model in Blender split into two objects: one for the […]

Categories
Game Creation Mastering Development

How can I achieve simulated fluid surface deformation in a bottle like Half life Alex?

source for reference: https://twitter.com/skilful/status/1265875309980643329 I can’t figure out what is going on here, people say “it is just a shader effect it isn’t simulating anything”, but I don’t think that is true at all, it appears to be doing some sort of surface only fluid dynamics, but I’d have no idea what technique is actually […]

Categories
Game Creation Mastering Development

How to call StartCourotine in abstract class?

Bellow is my code. I have an abstract class and a inheriting class. This keeps giving me an NullReferenceException, on the StartCoroutine(WaitForTime) when Activate() is called on a InheritedClass instance. I can’t figure it out. public abstract class AbstractClass : MonoBehaviour { abstract protected string iD { get; } abstract protected int CooldownSeconds { get; […]

Categories
Game Creation Mastering Development

How i can execute c# to unity? [closed]

i need help how i can execute c# code to unity from python exec() or without python? i found only that PythonEngine e = new PythonEngine(); e.LoadAssembly(Assembly.GetAssembly(typeof(GameObject))); e.ExecuteFile(“file.py”); i want it for (moving characters/parts) from server then execute