Timeline for OnCollisionEnter calls rapidly
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2019 at 10:39 | comment | added | AmonRa's Channel |
I used void CubeFall(GameObject cube) { cube.transform.position = Vector3.Lerp(cube.transform.position, new Vector3(cube.transform.position.x, -10, cube.transform.position.z), tntFallTime); Destroy(cube, 3); } for falling, but doesn't work properly. Cube's position needs to change -10 on Y axis but it doesn't if i don't stay on it
|
|
Apr 23, 2019 at 10:02 | history | answered | Shuvro Sarkar | CC BY-SA 4.0 |