If I select the object in the scene graph ui and select "Convert Root to Base Node(s)" the touch sensor starts working again. Create a touch sensor (bumper) that detect when its bounding object overlap other bounding objects. Translation %%Īfter this the touch sensor stops working (with any object, not just the newly imported one). Licensed for use only with Webots.įield SFVec3f size 0.8 0.144 1.2 # Defines the size of the pallet.įield SFInt32 lathNumber 4 # Defines the number of lath of the pallet.įield SFFloat lathWidth 0.145 # Defines the width of one lath.įield SFBool boundingObject TRUE # Defines whether the bounding object should be enabled. The size of the touch sensor's bounding object is. My touch sensor is located at with the rotation. Then swap "USE BEAM1" with the Transform as shownĮxpected the touch sensor to detect bounding objects as usual, with or without the Transform-node.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |