A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Heya I have a simple setup involving an enemy attack script and a projectile script. I instantiate in the attack , and move in the projectile. I...
Resolved. I was animating the transform on the rb object. I didn't know you couldn't do that. Thanks for your time.
https://answers.unity.com/questions/1312059/rigidbody2dvelocity-wont-move-object.html Answer by mr_noodler · Apr 25 at 03:06 AM...
Yeah debug.log both the getcomponent in the controller script, plus the velocity in the aggro script both show correctly. Everything is in place...
Anything over 100 makes it wonky and breaks my chase player function, but here's 100. Showing the velocity in the rb's inspector, but again...
EnemyController: using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour {...
In the awake function of another script, EnemyController. I reference it in my EnemyAggro: using System; using System.Collections; using...
private void ChasePlayer() { // if enemy is to the right of the player, move left if (transform.position.x >...
Is there a reason why a rb wouldn't respond to a velocity call? My code worked until I changed out my gameobject it was attached to, and now I...
Resolved. Had to add a rb to the enemy and set it to always awake. I'm not sure how sustainable that is but it's working for my small project:...
Okay OnTriggerStay implemented but I still can't find anything on staying in the trigger condition until the collider is inactive. Here's what I...
I'll give it a shot. But do you recommend a better way to attack? I thought it was a common practice to make the hitbox disappear if you're not...
It's a fast swinging sword, but my hitbox for it set to be continuously active while the attack button is held down. PlayerInput script: // Update...
I have a player hitbox that I'm colliding with an enemy's collider. My attack is active for as long as the attack button is pressed. My enemy...
I can't get my attack animation clip to play, even though it's set up the same as my idle, run, and jump, which all work fine. It only plays the...
Hello. I like the speed of my animations when I preview them in the Animation window, and they work great when I use them in the Animator window,...
Same problem here. preview.4 - 1.2.0. Changing to 8-bit fixed it.