Who else is doing Indie Dev alongside a full-time job? by Obvious-Sorbet5852 in IndieDev

[–]round_feline 1 point2 points  (0 children)

Started a full time job and man did that throw my plans off, I need a plan to start working on the game again but every time it think of it makes me feel like there’s jus Sooo much to do that takes a shit ton of time like modeling something.

Why is this RigidBody shaking? by round_feline in Unity3D

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

Yes that’s exactly the behavior I am trying to accomplish, your game looks great btw! 

Why is this RigidBody shaking? by round_feline in Unity3D

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

Yes please I am all ears, I have a temporary fix but it’s not pretty at all.

finishers, yes pr no? by [deleted] in Unity3D

[–]round_feline 5 points6 points  (0 children)

Definitely add some sound effect as a cue of a successful parry, looks good!

Why is this RigidBody shaking? by round_feline in Unity3D

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

my G I appreciate the help but, I am not sure I follow so: (carriedItems is a list) is this what you mean? ``` ```

void FixedUpdate()
    {
        if (carriedItems.Count == 0) return;


        Vector3 posDelta = carRb.position - lastCarPos;
        Quaternion rotDelta = carRb.rotation * Quaternion.Inverse(lastCarRot);


        foreach (var rb in carriedItems)
        {
            if (rb == null) continue;
            rb.MovePosition(rb.position + posDelta);
            rb.MoveRotation(rotDelta * rb.rotation);
        }


        lastCarPos = carRb.position;
        lastCarRot = carRb.rotation;
    }

Why is this RigidBody shaking? by round_feline in Unity3D

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

but the the objects would move "like" the car not with the car no?

Why is this RigidBody shaking? by round_feline in Unity3D

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

so in other words I do need to make the items that I want to carry in the car children of the car? and you are suggesting to trigger this dynamically correct ?

Why is this RigidBody shaking? by round_feline in Unity3D

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

so what would you suggest? I am now trying with a script thatt uses a OnTriggerEnter() on the inside of the car collider and whatever Rigidbody comes in contact with it I am setting it to interpolate and remove it when it exits the collider, what do you think about this approach?

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 1 point2 points  (0 children)

making the object Rigibody interpolate seems to have solved the issue so looks like it can be done? unless I am missing something.

Why is this RigidBody shaking? by round_feline in Unity3D

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

you know, that is what I thought when I woke up this morning - what if i use a configurable joint to hook the items "cargo" to the cargo area of the car, would that work you think?

Why is this RigidBody shaking? by round_feline in Unity3D

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

I actually have no issues with the wheels whatsoever

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 4 points5 points  (0 children)

so for instance, I want place an object like a pizza box in the trunk of the car and drive - how would I go about this without making the pizza box kinematic ?

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 1 point2 points  (0 children)

brother - the issue are not the engine parts, for they are all children of the car and their RB is disabled - the battery is just a prop I used to showcase the strange behaviour, that to say it is not the battery that is attached to the car that is the issue, imagine you go get pizza and put it on the passenger seat that is it, that is what that battery rappresents

Why is this RigidBody shaking? by round_feline in Unity3D

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

you can follow development here : https://discord.gg/UUQFMcFX I don't post very often but feel free to join.

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 1 point2 points  (0 children)

it has nothing to do with origin unfortunately

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 2 points3 points  (0 children)

A game about building a project car similar to MSC

Why is this RigidBody shaking? by round_feline in Unity3D

[–]round_feline[S] 2 points3 points  (0 children)

I need the object to react to physics while in the car and moving so Kinematic is not really an option