Back to the Shapespark home page

I can pass trough invisible (and visible) barrier!

Hi, I want to share this tour
https://all360.shapespark.com/model_ttp_001_v1/
To show you some issues that I try to improve

  1. Invisible barriers
    Some times we don’t want entire space aviable, then we use some invisible planes to block out people, in this tour I place many of them but I can pass trough if you click far point on screen. This problem also happen whith walls (seethe video) https://youtu.be/fK6lJfLdQ60

  2. if I put a invisible barrier all Hotspot behind them is totally block, so is imposible to interact with trigger behind barriers.

This issue born because some users complain wen them click on a wall and move in front of but too close, so they stick there. I tried to figure it out how to avoid that.

If someone have an answer to those issues please let me know.

Thanks

Thank you for the detailed report.

  1. The first issue is a bug in how the collisions are handled in scenes with stairs. When you click on an object, the collision detection logic checks how far in this direction the camera can move in a straight line without hitting any obstacle. This approach works correctly if there are no stairs, but with stairs, the path can become blocked by an obstacle because the camera height changes. We will work on fixing this.

  2. Tomorrow we will release a change that adds support for setting WALK.KEY_MOVE_MIN_DISTANCE_TO_OBSTACLE. It will allow you to limit how close you can walk to obstacles without affecting trigger click detection (for now this will be available only in Shapespark hosting so you will need to upload the scene to test it).

Ok @jan, thanks for your attention and answer. I will wait for new release.

BTW
I’m wondering if you will work in a mayor change in the design of the Shapespark board?

@jorgearq we have released a new version of the viewer to our hosting. If you put:

<script>
  WALK.KEY_MOVE_MIN_DISTANCE_TO_OBSTACLE = 0.5
</script>

in the body-end.html file, it will limit the distance to walls to 0.5 meters (or any other number that you will put there instead of 0.5).

Thanks @jan, I will try because I don`t know anything about code so will find some friend that can help me

@jan
When will this be available for self hoster?

@tim we still have a couple of things on a todo list, but I think we can make the next release by the end of the next week.

1 Like

Hello @jorgearq
Could you please tell me how did you add the info on top of the objects within your 3d model

cc: @jan

Hi @hamad_razzaq.

  1. first, record the position camera views that you want
  2. go to viewer/extensions menu and make new one
  3. inside create extension panel choose extension type (in this case Change view) and put a name.
  4. Press + plus button to choose trigger
  5. in trigger panel choose type (sphere, sprite or object type)
  6. if you choose object, another panel appear, then you can pic on screen or select from list the object
  7. then, in Views to toggle, click on + plus button to select the view that you want to activate
  8. let uncheck ¨do not move camera¨
  9. press ok

To check this you always need to be on Viewer panel, also you can save and see on view mode

control panel shapespark select type extension

create

triger type

view

1 Like

hi @jorgearq your reply was really helpful,
Thanks a lot

1 Like