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.
Dear JeffDUnity3D my error is somehow fixed and thank you for fixing this error Cheers Cool Dog
and this is the BouncySurface using UnityEngine; public class BouncySurface : MonoBehaviour { public float bounceStrength; private void...
this is the ball code using UnityEngine; public class Ball : MonoBehaviour { private Rigidbody2D _rigidbody; public float speed =...
yes there is a Ball.cs file Youtube Tutrioal for game How to make Pong in Unity (Complete Tutorial) - YouTube
pls comment on this one and maybe if its possible just send me the replace code
Assets\Scrpits\BouncySurface.cs(14,18): error CS1061: 'Ball' does not contain a definition for 'AddForce' and no accessible extension method...
if (ball != null) { Vector2 normal = collision.GetContact(0).normal; ball.AddForce(-normal * this.bounceStrength);...
and it said this i did the != but didnt work also the ≠ wont work either
i think might be this ≠ or the other post (ball ≠ null)
no its this ball.AddForce(-normal * this.bounceStrength);
i tried every move but none unity is going to say no to me :(
hi my code is saying this and i am trying to fix it using UnityEngine; public class BouncySurface : MonoBehaviour { public float...
nvm i found the problem
i have a problen in line 25 using UnityEngine; [RequireComponent(typeof(PlayerMotor))] public class PlayerController : MonoBehaviour {...
i fixed it it was because it was to many files lol
public class PlayerMovment : MonoBehaviour { public CharacterController controller; public float speed = 12f; public float gravity...
i do have have an problem with my code says this Assets\Scripts\DayNightCycle.cs(17,18): error CS0116: A namespace cannot directly contain members...
and its all about this public float gravity = -9.81;
guys i have this error and its this Assets\PlayerMovement.cs(14,28): error CS0266: Cannot implicitly convert type 'double' to 'float'. An explicit...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovment : MonoBehaviour { public...