#Is it possible to set an entity to look in only one direction?

1 messages · Page 1 of 1 (latest)

tacit python
#

I wanted to set the direction for this whale mob to swim and look only in one direction. To the West.

chilly pilot
tacit python
#

A good suggestion. But how do I move it only in the desired direction?

#

@chilly pilot

chilly pilot
tacit python
#

West

chilly pilot
#

I don't know any way to make an entity only in that direction, I only think of applyImpulse() as a solution...

tacit python
#

What would the script to do this look like?

#

I REALLY have no idea how to do this

split steeple
#

set "max_turn" in behavior to 0.0 or use "minecraft:behavior.blocked_body_rotation" component