Answer by maxkunes
I see the way your doing it and I think that that is a unneeded approach to what you are trying to do. When ever I work with bullet spawns I would either use ray cast and there's a billion tutorial on...
View ArticleAnswer by maxkunes
You Could Use Rigidbody.addforce or rigidbody.addrelativeforce. But I'm not sure if your character is rigidbody or not... Sorry If that didnt help much...
View ArticleAnswer by maxkunes
This is your issue unless the ray cast isn't working... For sure just tested it and also I think there is another error unless you did not look at the output because the output says distinctly that you...
View ArticleAnswer by maxkunes
Your in luck, I've been working with 2d raycast for awhile and just to start make sure your using Racast2d not the normal one because that will not collide with ANY 2d collider and also make sure...
View ArticleAnswer by maxkunes
Next time please give more detail with your issue, but I think your having issues with multiple else if's functions. I believe with most coding languages in normal and unity can only use one else per...
View ArticleAnswer by maxkunes
function OnCollisionEnter2D(coll: Collision2D) { if (coll.gameObject.tag == "Tag") { } } That is my function to do triggers/collision and it works perfectly ***Note!! Collision 2d will only collide...
View ArticleAnswer by maxkunes
Try Replacing the terrain collider on your terrain but like the other person said it is almost impossible for us to help you.
View ArticleAnswer by maxkunes
If you are using photon which is a great way to go (my experiance) than this is a great tutorial that shows you exactly how to smooth the movement and describes exactly why this is happening and...
View ArticleAnswer by maxkunes
If you want to change the default skybox color than you can go to your camera and where it says backround change the color to your liking or you might be able to change an actual skyboxes color with...
View Article