Can't get gravity to work proberly (transform)
So I'm using a transform as a player with a camera following it. Gravity works fine at start, also when I hit the floor **mostly**. Sometimes the transform starts to rotate in these weird directions...
View ArticleUnity Networking - Clients scattered around scenes
First I'd like to say I KNOW there there is tons of questions asked about this everywhere, and I know it's hard to give an estimated answer to this. The most default answer I've heard it can support is...
View ArticleBounce when hitting wall
Hey everyone I'm working on a simple 2d game, but I've run into a problem. Right now if you shoot a projectile and it hits the wall it will bounce perfectly. But if it hits another wall it screws up,...
View ArticleHow do I check if raycast is hitting a gameobject?
Hey I have a problem I need to show some text whenever a raycast hits a building. That's no problem, but if I etc. look up in the sky after looking at a building the text will still be visible. Here's...
View ArticleItem manager with ScriptableObjects - Can't get variables from inherited class
So I wanted a more interesting item system than this common list with variables thing. I've a basic item class with this: public class Item : ScriptableObject { public string name; public string...
View Article