ULTIMA
ULTIMA
CC#
Created by ULTIMA on 6/6/2024 in #help
anyone know animation in unity? i know i should ask here but nobody responds in Unity discord
i just need to know how to stop an animation/ interupt an animation
14 replies
CC#
Created by ULTIMA on 6/4/2024 in #help
Trap problems with character controller
my trap has a code which will be shown below, where if the player enters the collider, they are teleported to a set Vector3, my problem is that this code is on the trap, and it wont let me access the character controller to disable it for the player to actually be teleported.
5 replies
CC#
Created by ULTIMA on 6/4/2024 in #help
how do i set a character controller as disabled or active in a c# code?
hey so quick question about the character controller, its very nice and easy but in my game i have traps that tp the player to a set location after taking damage, but it doesnt really work with character controller, is it because its using transform.position?
if (other.CompareTag("Player")) { player = other.GetComponent<HealthUiManager>(); if (player != null) { player.TakeDamage(damageAmount); player.transform.position = respawnPosition; } }
34 replies
CC#
Created by ULTIMA on 6/4/2024 in #help
✅ how to interupt an animation before its finished rolling the full thing
i have an enemy that walks along specific patrol points, it stops at each point for like 3 seconds, problem is the animations dont stop when they need to, do i just have to fine tune the animations for that specifically? or can i just stop that animation and start the other one immediately
7 replies
CC#
Created by ULTIMA on 6/4/2024 in #help
Animation question
quick question for animation in unity, are bools better or triggers? for idle to walking for an enemy, not a big enough subject for help i figured
1 replies
CC#
Created by ULTIMA on 6/4/2024 in #help
i need help with collision detection, i think
in my game i use a capsule collider for the player, problem is whenever the player hits a wall you can only really roll along it and it takes some work to get off the wall, anyone able to give me some advice in this? if it would help i can share my movement code.
31 replies
CC#
Created by ULTIMA on 6/3/2024 in #help
good puzzle for someone, dont know why or how this works
i have a code to restart and a button that should call the function when pressed but it doesnt work, assuming its the code but im unsure, doing debug.log testing right now
8 replies
CC#
Created by ULTIMA on 5/27/2024 in #help
Quit Game Button
ive made the button and used the code
public void QuitGame() { Application.Quit(); Debug.Log("Quit the game"); } the debug to make sure the button is calling the function, and it is. but it doesnt end the game at all in unity? any ideas why?
5 replies
CC#
Created by ULTIMA on 5/16/2024 in #help
Buttons Are annoying
i have a restart button that pops up when health reaches 0 but i cant interact with it? any ideas?
3 replies
CC#
Created by ULTIMA on 5/14/2024 in #help
new problems
i need to call two animations for different child objects, a lever going down, and a door opening. whats a easy yet effective way of doing this? NVM everything is right in the world and fixing this feels so very good. if anyone wants to see how i fixed this it will be in the pastemod page below
3 replies
CC#
Created by ULTIMA on 5/13/2024 in #help
Lever to open a door
hey im having trouble with a school project and i have a code that refuses to work and i need some help or tips on this. i have a lever, and a door, the lever is the parent object(more specifically the LeverTrigger) and the door is a child object within. i want to hit the lever with E and have the door run its animation to open. any thoughts on my code (i am aware its not Functional) https://paste.mod.gg/ginabssqkbah/0
21 replies