cancel
Showing results for 
Search instead for 
Did you mean: 

Leaving footprints - how would you do this?

InaCentaur
Member

i am still trying to understand how players can spawn entities... but i'd like to understand how you might implement "leaving footprints" when players or NPCs walk across certain surfaces? 

3 REPLIES 3

SeeingBlue
Mentor

You would have to imagine and build the system yourself. Just a quick brainstorm to get you started, I think a couple planes with the footstep texture, keep about 5 or six per player or npc, periodically position them at the NPC's foot position with a timer to remove them later so you can reuse it.

Upcoming Events:
AMA - Oh My GenAI! A Practical Toolkit Tour Tuesday, May 6th 11:00 AM PT - Register
Build-Along - Code Smarter, Not Harder with Your AI Assistant Tuesday, May 20th 11:00 AM PT - Register
May Programming Calendar

can we get foot positioning?

SeeingBlue
Mentor

Look in your player class at the foot property. It is a PlayerBodyPart type with all kinds of properties you can use.

https://developers.meta.com/horizon-worlds/reference/2.0.0/core_player
https://developers.meta.com/horizon-worlds/reference/2.0.0/core_playerbodypart

 

Upcoming Events:
AMA - Oh My GenAI! A Practical Toolkit Tour Tuesday, May 6th 11:00 AM PT - Register
Build-Along - Code Smarter, Not Harder with Your AI Assistant Tuesday, May 20th 11:00 AM PT - Register
May Programming Calendar