Define .pos getters and setters once, instead of for each entity instance.
Remove redundant comments.
Remove comment.
Define .isFixedRotation getter and setter once, instead of for each entity instance.
Remove unused variable.
Allow changing sensor state on the fly via the .isSensor property.