#my mesh collider doesn't work without convex. the gameobject which has the collider has no rigidbody

1 messages · Page 1 of 1 (latest)

willow jetty
#

the rigidbody has a collider attached to it, making it unusable in certain situations. You can try to add a convex and a cpp function to your mesh, to make it a collider part. The gameobject will sync to youtube.com, and then , just build your project and you will be good.

#

cpp function?

#

if you still need help install a plugin

#

to make it work properly.

#

shouldn't unity apply normal collider without any plugin? i know that i was doing mesh collider without convex

#

no it has to have a multiplayer function ran on javascript to make photon io

#

Anyways whenever you need them unity keeps logs of everything so if you run into an issue you can figure out what is going wrong and just fix it and you'll be good

#
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class bullet : MonoBehaviour
{
    public float speed;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        GetComponent<Rigidbody2D>().AddForce(transform.forward * speed * Time.deltaTime);
    }
}
#

i don't think that you have an idea what is the problem rly

#

A restore isn't mandatory and the idea is If you have a login system that unlocks the content with the IAP, then you don't need a restore button - assuming that if the app is deleted, then installed again and they login to their account, they still have the purchase.

#

Does that help?

#

bruh what are you talking about? lol

#

like that

#

why my object's collider doesn't wrap the object up completely, this is what i ask

#

No, hexagons are a bit off the tilemap

#

its to get a component in a gameobject for something, for example, GetComponent<Rigidbody>().AddForce(transform.forward * 1f)

#

do you understand? why this is happening but I had to do it this way because adding rb to the actual object and adding to the velocity of that didn't work so I added velo to bones instead.

#

So now you should be good. 👍

#

yea

#

thanks for suggestion

#

the fact, i won't add a rigidbody and i just want a smoother mesh collider

#

Ohhh, just use navmesh agents

#

it's easy

#

do you want me to explain

#

no