2
votes
Accepted
How can I fix the rotation on a sprite normal map in Unity?
I have tested it with a different normal map:
Now the lighting works fine. The problem was with the normal map posted in the question.
1
vote
Change the tile in the tile map at runtime
Create a struct that has the tiles:
Int x,y location,
Int crop type,
time date/time this crop will regrow.
Then you make a list out of each struct.
Iterate through the list and check if the date/time ...
1
vote
Accepted
Lerping Time.timeScale causes laggy physics
You don't want to use unscaledDeltaTime here, you want to use your original fixedDeltaTime value from before you started ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unity × 16720c# × 5720
2d × 1154
shaders × 707
physics × 695
animation × 670
collision-detection × 531
android × 475
rotation × 471
camera × 470
gui × 432
3d × 418
movement × 346
sprites × 340
textures × 307
optimization × 294
unityscript × 294
rigidbody × 262
lighting × 254
mathematics × 248
raycasting × 238
input × 237
rendering × 233
blender × 233
unity-ui × 209