Initial
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
class entity_particle_t extends entity_t {
|
||||
_init() {
|
||||
this._bounciness = 0.5;
|
||||
this.f = 0.1;
|
||||
}
|
||||
|
||||
_update() {
|
||||
this._yaw += this.v.y * 0.001;
|
||||
this._pitch += this.v.x * 0.001;
|
||||
this._update_physics();
|
||||
this._draw_model();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user