Running AIM problem
Posted: Sat Sep 05, 2020 2:12 pm
Hey I want my character to AIM while running. In Code's description, it says just remove "!controller.run" of the condition I am not getting where is "!controller.run" The hole code start with controller and ends with Running. i try to delete "!" and replace it with "=" but in idle aim is not working.
Please help me to edit it..
Please help me to edit it..
Code: Select all
public bool m_CamAim
{
get
{
bool can = false;
if (CanAim && controller.State != PlayerState.Running)
{
can = true;
}
return can;
}
}
/// <summary>_
/// determine is we can reload
/// TIP: if you want to have to shoot when running
/// just remove "!controller.run" of the condition
/// </summary>