Thanks for that Chris. I will play with it. Thinking of my needs for this in a different way, there may be a simplier solution.
Is it possible to get the NPC to rotate only to face the players position and not to rotate as the player rotates?
(To …
Thanks Chris. I ended up reverting to a backup of my game. Sticking with the older Unity version and without URP (as it was causing lighting issues).
Hopefully your response will help someone else down the line.
I'm now having *issues Crossfading from this camera (NavCam1) to another (NavCam2), then teleporting NavCam1 (within a game object) and crossfading back to it. I think its because theres a conflict with this Game Camera 2D (script) and teleporting. …
Ok, I think I've found the issue. Hotspot won't show up if I have NPC component present. If I delete NPC component then hotspot shows up. Is this a bug?
Here's images for the Prefab Inspector (I did have a Box Collider component as well, but made no difference.)
(Image)
(Image)
On a side note dragging a brand new sprite into the scene, then dragging it to Resources folder to make a prefab, then…
So for whatever reason today dragging a newly created hotspot into the Prefab in scene works.
The component hotspot is still not showing up of course and the collider of the same object is a Character Controller (thats a collider too right?).
Yes I wasn't very clear.
I can currently set parameter y to hold variable x.
Is in it possible to pass variable x from parameter y to parameter z so that parameter z then holds variable x and any changes made to parameter z affect the original va…
Could it be possible to pass whichever variable is linked in a parameter to another parameter?
or in this situation is it better to copy the parameter value to a new variable, then after changes copy it back to that same parameter and so to the lin…
More on this.
An example in an Asset List;
When using Action List: Set Parameter and setting [param:2] to [param:3], I notice that the node states New Value is: Copied From Parameter.
Does this mean that later on that a node with a formula [paramv…
I set the Pivot Point on the Sprite to Bottom but he still bounces.
Using Character Controller instead of Rigid Body works well though. However, having Retro Style Movement ticked now seems to make the NPC jitter when turning at the Node.
Is there…
When he his moving between nodes. It's not constant but he does bounce multiple times as he approaches the second Node. It is something to do with his rigidbody or collider reacting to the floor (I think). The floor is horizontal and a flat cube and…