Open LameniRuz opened 2 years ago
Hello, sorry my bad, i think
subject.height = 1.86
in your code will break step up thing
but camera height can still be changed
Also collision on bte will break step up too We can delete foot ray in the firstpersoncontroller or without collision make additional second highlight , what visible if there is a block in the shell around it (in directional axis positions around) (second highlight)
O, and one idea, (i add it as a issue if ill make something later) We can put blocks in the air with a little bit of code refactoring We can create creatures what stand on the moving clouds or just jump on created blocks We also can make living 'subset' Like a snake, consisting of the blocks, it moves blocks positions in the space And i like your idea of speed building,
Thanks
Using mouse normal and bte collider
1) add collider -mining_system.py
bte = Entity(model='cube',color=color.rgba(1,1,0,0.4), collider="box")# Add collider
2) Change checkBuild function to use mouse normal -building_system.py
3) Change checkBuild function call -mesh_terrain.py
bsite = checkBuild(this.td)#Change f call
#str58Point with the red dot on the highlighted block and click to place
-----------Red dot height fix------------ After the subject initiation
subject.height = 1.86
subject.camera_pivot.y = 1.86 # = Player Height
it is the player controller code , it needs customization for meshcraft needs we can make our own first person controller using default as a base later to clean-up the main function PS Thank you for this fun tutorial! :)