implement first person hand
(cherry picked from commit bfe5a2eaca2858a7ccde1df847e2148dd79f4045)
This commit is contained in:
@@ -521,13 +521,13 @@ export default class World {
|
||||
|
||||
addEntity(entity) {
|
||||
this.entities.push(entity);
|
||||
this.group.add(entity.group);
|
||||
this.group.add(entity.renderer.group);
|
||||
}
|
||||
|
||||
removeEntityById(id) {
|
||||
let entity = this.getEntityById(id);
|
||||
this.entities.remove(entity);
|
||||
this.group.remove(entity.group);
|
||||
this.group.remove(entity.renderer.group);
|
||||
}
|
||||
|
||||
getEntityById(id) {
|
||||
|
||||
Reference in New Issue
Block a user