henke
henke
CC#
Created by henke on 1/28/2023 in #help
✅ C# unity rotation clamping.
$code
5 replies
CC#
Created by henke on 1/23/2023 in #help
✅ Need help with C# unity game development.
lol sorry I was looking at the wrong script omg Smadge it was a little further down the line. I hadn't referenced the player Thanks for the help!
7 replies
CC#
Created by henke on 1/23/2023 in #help
✅ Need help with C# unity game development.
7 replies
CC#
Created by henke on 1/23/2023 in #help
✅ Need help with C# unity game development.
$code This part was working earlier if i had transform.position and not transform.parent
//
public void PickupItem()
{
print("function gets called");
if(isColliding == true)
{
print("works");
itemParentObjectTransform.transform.position = playerController.transform.position;
}
else
{
print("Theres no item to pickup nearby");
}
}
//
public void PickupItem()
{
print("function gets called");
if(isColliding == true)
{
print("works");
itemParentObjectTransform.transform.position = playerController.transform.position;
}
else
{
print("Theres no item to pickup nearby");
}
}
7 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
Thnks alot guys !
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
Nvm I am getting this now
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
Not sure if that affects anything though
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
and DamageableCharacter.cs is just a script, not attached to any gameObject (though referenced) ..
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
you can see here the HealthBars gameObject is a child of "Player"
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
Sorry im not sure. there are no error lines but when I run the script I can also tell that there is nothing coming from the lines that I wrote
26 replies
CC#
Created by henke on 1/17/2023 in #help
✅ beginner help with unity
thanks i will test it now
26 replies