Categories
Game Creation Mastering Development

Check if face is in bounding box

I am working on collision detection for my game 3D game using OpenGL with LWJGL. All models have a list of collision face objects containing the vertex position and face normal. How would I check if a face is being intersected by an AABB (the collision box of the player)? I’ve thought of checking if […]

Categories
Game Creation Mastering Development

How do I prevent a custom engine and sample application from being detected as a virus?

I developed my own game engine and I’ll refer to it as a Software Development Kit (SDK) here, for making a specific type of game. The SDK encapsulates low level DirectX APIs. It’s written in C++ and compiled on its own using Visual Studio 2019 which generates a static library file. Under the Visual Studio […]

Categories
Game Creation Mastering Development

Why my object Triggering too far?

I have some issues with detecting the collision when OnTrigger2d, as you can see in my screenshot below, that actually too far from the object. this my script private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", true); _GameManager.instance.GameOver(); } } private void OnTriggerExit2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", false); […]

Categories
Game Creation Mastering Development

Why my object Triggering too far?

I have some issues with detecting the collision when OnTrigger2d, as you can see in my screenshot below, that actually too far from the object. this my script private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", true); _GameManager.instance.GameOver(); } } private void OnTriggerExit2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", false); […]

Categories
Game Creation Mastering Development

Why my object Triggering too far?

I have some issues with detecting the collision when OnTrigger2d, as you can see in my screenshot below, that actually too far from the object. this my script private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", true); _GameManager.instance.GameOver(); } } private void OnTriggerExit2D(Collider2D collision) { if (collision.tag == "Obstacle") { anim.SetBool("isDeath", false); […]

Categories
Game Creation Mastering Development

Where can/should I learn C# or Unity

I’ve recently got interested in getting into game development due to having too much time (I’m in high school). I’ve been thinking of getting into Unity specifically but I’m not sure where to start. Should I just mess around with Unity and Visual studio while slowly learning or should I learn C# first?

Categories
Game Creation Mastering Development

Character is out of location after animation montage in UE4

so I have my running and idle animation working fine on my character but once I do the attack animation thru an animation montage, my character slowly floats off the ground and as I attack many times it floats more and more and sometimes starts to lean and when I run and Idle it stays […]

Categories
Game Creation Mastering Development

How can I make the transform to keep moving the direction it was moving when pausing and then resuming?

using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.Audio; using UnityEngine.Experimental.GlobalIllumination; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Moving : MonoBehaviour { public Transform destination; public float moveSpeed = 5f; private Coroutine movementCoroutine; private bool pause = false; private Vector3 startPosition; private void Start() { startPosition = transform.position; } // Update is called […]

Categories
Game Creation Mastering Development

Accessed None trying to read property Save Game

I have create this blueprint, with a Check for an existing Save-Game and load it in case of true. Else, create a new save game object. While Z is pressed, create a new Save Game, getting the Player Position. The problem is that when I try to start the game, I have two errors: How […]

Categories
Game Creation Mastering Development

How do I extract an mtl file from a full color obj?

Is there a way I can extract the texture files from an obj? Blender can’t read my full-color obj scans without a texture file which I don’t have, but Meshlab is able to read it without the texture files and still have in color.