Quantcast
Channel: Answers for "My object wont move when I use transform.translate."
Browsing all 6 articles
Browse latest View live

Answer by OmarAlhaddad

OnTriggerEnter gets called once per trigger collision, thus making Translate to get called maybe once only (moving your object a tiny bit), if you want Translate to be called every frame you need to...

View Article


Answer by robertbu

I'm not sure how far you think it should translate, but you only translating it about 0.1. (6.0 * 1/60). In addition you call Destory() on the same game object this script is attached to, so another...

View Article


Answer by OmarAlhaddad

OnTriggerEnter gets called once per trigger collision, thus making Translate to get called maybe once only (moving your object a tiny bit), if you want Translate to be called every frame you need to...

View Article

Answer by robertbu

I'm not sure how far you think it should translate, but you only translating it about 0.1. (6.0 * 1/60). In addition you call Destory() on the same game object this script is attached to, so another...

View Article

Answer by OmarAlhaddad

OnTriggerEnter gets called once per trigger collision, thus making Translate to get called maybe once only (moving your object a tiny bit), if you want Translate to be called every frame you need to...

View Article


Answer by robertbu

I'm not sure how far you think it should translate, but you only translating it about 0.1. (6.0 * 1/60). In addition you call Destory() on the same game object this script is attached to, so another...

View Article
Browsing all 6 articles
Browse latest View live