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.
Nevermind, it seems the solution was replacing the direction vector with a direction angle and using (Quaternion.Euler(0, 0, directionZ) *...
More generally, I need a script that lets me move an object with a direction vector relative to transform.right
I want the player to shoot in a sine wave. I'm fiddling with translation, velocity, force, etc, but here's what I have speed * Mathf.Sin(time *...
Hm, I ordered the code in update as follows -> Parallel.For -> Physics Update -> GetResult I can't see any speedup at all though. Is this because...
I think its working now though, although I admittedly found a negligible speedup.
You are totally right, I'm stupid. Well, I can either set simulationmode to update, or manual simulate. If I go with manual simulate and simply...
On a side note, I was thinking of splitting the entire simulation into chunks and offloading each onto a different cpu or something, and the main...
How would queuing up the raycasts help? I'd still be doing the same amount of raycasts, which is like 300-600 every fixedupdate... Also, I'm...
Annoyingly enough, I can't seem to raycast in the thread. I don't know if there is a solution for this, but ill just ignore raycasting for now...
If I were to split it into tasks, then each fixedupdate call I would need: 1. To do a series of raycasts, or some other way to get information...
where does it say that? I see "The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random...
I looked at the job system for a while and got nowhere, because I tried to make the native array with my neural networks as T and apparently it...
I dont know how on topic this is but I have 6 cores and 12 logical processors with a number 4000 below the threads text on the task manager. It...
Since this is a pretty technical post, perhaps someone can move it to the jobs forum for me? Im looking at the job system, not entirely sure if I...
For the record, I know nothing about how multithreading works beyondd a basic understanding of what it is, so please explain things in simple...
Not really a game loop, but I'm trying to simulate a bunch of things. It'd be nice if I could just put them on top of each other, hence the...
Itll be a lot of different cubes. 400+
Lets say I have 100 cubes instantiated. How can I get cube A and cube B to collide with each other, but none of the other 98 cubes (and repeat...
I'm using Unity to train some neural networks (its very nice to have all the physics and stuff already done, otherwise setting up simulations...
Oh sorry, but thats not really what I'm asking. I think a better way to put my question is to say if there is a better way to package related...