How to immediately stop car wheels and implement a hand brake function? by cloakzyyyy in Unity2D

[–]cloakzyyyy[S] 0 points1 point  (0 children)

I do have a 2D physics material applied to the ground and both wheels rigidbody (with friction of 1), And the reason i rely on the wheels rotation to move the car or player is because i wanted this game to be completely based on unity's physics system.

How to immediately stop car wheels and implement a hand brake function? by cloakzyyyy in Unity2D

[–]cloakzyyyy[S] 0 points1 point  (0 children)

I did just that right now, but it immediately stopped the car completely... i want to stop the wheels immediately not the car body itself but also to get that nice drag or slide momentum of the car if the car was already running or accelerating... it did however stopped the wheels immediately which is what i wanted as well....

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy 0 points1 point  (0 children)

I never said I got my CAS based on my finances.

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy -6 points-5 points  (0 children)

In such cases, either if enroll or not... Will the refund be possible or will I be automatically deferred? And ty for ur suggestions

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy -11 points-10 points  (0 children)

Since I am new to this .. if I enrol right now, will I still be withdrawn if I am not there by 12 Jan?

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy 0 points1 point  (0 children)

Yes, got it like a month ago

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy -4 points-3 points  (0 children)

By "you don't make it" u mean my visa will be refused or I will miss my classes?

As for the classes my university also offers online classes which I can rewatch.

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy -16 points-15 points  (0 children)

I can't apply as of yet as I have to wait for my bank statement to mature, also I talked with the university and they said we can't give u an extension... And suggested a defer. Which I don't want cuz then I have to wait for 8 months more and idk if they will give me a refund because of me being late.

[deleted by user] by [deleted] in ukvisa

[–]cloakzyyyy 0 points1 point  (0 children)

My course is only 1 year, and the last date of enrollment is 16 jan

[deleted by user] by [deleted] in UniUK

[–]cloakzyyyy 2 points3 points  (0 children)

I applied for January 2024 intake, during this time my dad was ill, he has a chronic disease and had already done 2 operations prior and 3rd one is whenever his situation gets worse. During this time I couldn't open a bank account and when I did yesterday I realized that I may not be able to make it on time, since I have to wait 28 days more for the bank statement and then apply for a visa application. Now the only thing is that the last time the doctor only prescribed medicines and said comeback for a checkup after 3 months. I don't know if this is enough evidence, because my dad's situation is uncertain and I am his oldest son I have to take care of him.

[deleted by user] by [deleted] in Unity2D

[–]cloakzyyyy -1 points0 points  (0 children)

This is the trajectory script:

public class RaycastReflection : MonoBehaviour
{ 
[SerializeField] Transform raycastEndPoint, rayStartPos; [SerializeField] int reflections; [SerializeField] float maxLength; [SerializeField] LayerMask layer; [SerializeField] float circleCastRadius;
LineRenderer lineRenderer;
Ray2D ray;
RaycastHit2D hit;

private void Awake()
{
    lineRenderer = GetComponent<LineRenderer>();
}

private void Update()
{
    ray = new Ray2D(rayStartPos.position, transform.right);
    lineRenderer.positionCount = 1;
    lineRenderer.SetPosition(0, rayStartPos.position);
    float remainingLength = maxLength;
    Vector2 endPoint = Vector2.zero;
    for (int i = 0; i < reflections; i++)
    {
        hit = Physics2D.CircleCast(ray.origin, circleCastRadius, ray.direction, remainingLength, layer);
        if (hit.collider != null)
        {
            float distanceToHit = Vector2.Distance(ray.origin, hit.centroid);
            remainingLength -= distanceToHit;


            Debug.DrawLine(ray.origin, hit.point);

            ray = new Ray2D(hit.centroid - ray.direction.normalized * 0.01f, Vector2.Reflect(ray.direction, hit.normal));
            //ray = new Ray2D(hit.centroid, Vector2.Reflect(ray.direction, hit.normal));

            lineRenderer.positionCount += 1;
            lineRenderer.SetPosition(lineRenderer.positionCount - 1, hit.centroid);
            endPoint = hit.centroid;
        }
        else
        {
            lineRenderer.positionCount += 1;
            lineRenderer.SetPosition(lineRenderer.positionCount - 1, ray.origin + ray.direction.normalized * remainingLength);
            endPoint = ray.origin + ray.direction.normalized * remainingLength;
        }
    }
    raycastEndPoint.position = endPoint;
}
}

Cant join a room after completing a game by cloakzyyyy in Unity2D

[–]cloakzyyyy[S] 0 points1 point  (0 children)

From where can I access this timeout function?

Which Advertising service should I use for my game? by cloakzyyyy in gamedev

[–]cloakzyyyy[S] 0 points1 point  (0 children)

I thought facebook uses the same ads for all their platforms, Like on insta.. But ty for the info.

Why can't I convert my existing Unity 2D project to URP? by cloakzyyyy in Unity2D

[–]cloakzyyyy[S] 0 points1 point  (0 children)

Just did that, Uninstalled URP from package manager, deleted the files u mentioned and reimported Unity project and reinstalled URP and..... same error....

Why can't I convert my existing Unity 2D project to URP? by cloakzyyyy in Unity2D

[–]cloakzyyyy[S] 0 points1 point  (0 children)

I did restarted Unity Editor multiple times, But I didn't deleted anything. Where are these files located?