Untitled
unknown
typescript
a year ago
354 B
8
Indexable
// anime le long d'un rayon if (this.iteratorBullet != -1) { this.iteratorBullet=0.1; var pos = new Vector3(); this.raycaster.ray.at(this.iteratorBullet,pos); var tra = this.raycaster.ray.direction.clone(); tra.multiplyScalar(this.iteratorBullet); this.bullet.position.add(tra); }
Editor is loading...
Leave a Comment