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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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