A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
You are correct, I did post the wrong code. I was in a hurry. Anyhow, I deleted most of the code and redid it. It now spawns the correct prefab...
This shows the important stuff I think. Thanks. public class SpawnTiles : MonoBehaviour { public GameObject Prefab; public GameObject...
So at startup I have a class that spawns a bunch of prefab tiles and blocks , in a checkerboard pattern. Then I have my character spawn a bullet...
Two questions. 1. I will ask the really dumb one first. What do ICD and IBED stand for? 2. Are there any of the Unity Samples that show how...
So I have a system that I would like to write data to a component of a parent and a different component in a child entity (it can't be SCD)....
Fixed it. I moved the declaration outside of the start() function of the class private GameObjectConversionSettings settings; Then I was able to...
So I have a class where I instanciate some prefabs in a class at startup. This line is causing errors, it is in the start function of the class....
Okay so I am attempting to make my object jump. I use a ray to see if he is on the ground. If I am standing still it works just fine. If I am...
Okay, so I have about 250 floor tiles. If my character steps on certain tiles then I want to change something about the character. I assume that...
Thanks, that is definitely getting me moving in the right direction (pun intended). A good starting point for sure.
I am pretty new to physics, and I have enjoyed learning about it up to this point. So I am learning to move things around with physics. Going...
I found the solution, or a solution anyhow. var settings = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, null);...
I have a floor that I convert to an entity and add a physics body and physics shape. In the entity debugger the PhysicsCollider is there. I have...
Do you have both a rigidbody and a collider on you player? It is my understanding that you need both to handle all collision situations. Just a...
Thanks for the help. I had messed with the prefabs some before, I was just trying to do it through code. No real good reason, mostly ignorance...
Clearly I am not getting something here. Here is some code that I am using as I am trying to learn stuff with ECS. using Unity.Entities; using...
Sorry for the potentially obvious question. I can get the camera right on the entity, but is there a way to off set the camera using this method?...
I guess when you word a question as poorly as I did you will get answers that are not exactly what you are looking for. Granted the replies were...
So I am trying to do some Raycasting experiments to eventually lead to some shooting and AI for something to follow me around. First thing I...
LocalToWorld worked exactly like I wanted it too. Thank you very much. I can use a combination of WASD and my mouse to move my mesh Cube...