Deprecated: Required parameter $query follows optional parameter $post in /var/www/html/wp-content/plugins/elementor-extras/modules/breadcrumbs/widgets/breadcrumbs.php on line 1215
3D and XR Studio Physics - Blocks, Python Functions, Projects | PictoBlox Extension
[PictoBloxExtension]

3D and XR Studio Physics

Physics
Extension Description
Move objects in a straight line or towards each other. For more control, adjust speed, rotation, apply pushes, and fine-tune gravity effects.

Introduction

Physics offers comprehensive control over the physical properties and behavior of objects and the world itself. Here’s a breakdown of each aspect:

1. World Physics Properties:
– World Type: Users can define the type of physics world, such as 2D or 3D, to match the dimensions of their environment.
– Gravity: Users have the ability to set the direction and magnitude of gravity within the physics world, influencing the behavior of objects subjected to gravitational forces.

2. Object Body Properties:
– Body Type: Users can specify the body type of objects, such as static, dynamic, or kinematic, determining how they interact with the physics simulation.
– Mass: Users can set the mass of objects, influencing their response to external forces and collisions.
– Friction: Users can adjust the friction coefficient of objects, controlling the resistance to motion when in contact with other surfaces.
– Damping: Users can define damping properties to simulate air resistance or other dissipative forces, affecting the object’s motion over time.
– Pressure: Users have the option to specify pressure properties for objects, influencing their deformation or buoyancy behavior in fluid simulations.

3. Motion Control:

Simple Motion:
1. Push Object Towards Another Object: Users can make one object move towards another with a specified speed, useful for creating collisions or interactions.
2. Move Forward/Backward: Users can move objects in a straight line, either forward or backward, with a set speed.

Advanced Motion:
1. Body Velocity: Users can set the speed and direction of objects’ movement.
2. Body Angular Velocity: Users control how fast objects rotate.
3. Apply Impulse: Users can give objects a sudden push, simulating impacts or abrupt movements.
4. Apply Force: Users can continuously push objects, affecting their movement over time.
5. Gravity: Users can adjust how much gravity affects objects, controlling their falling speed or direction.

These motion options allow users to create a variety of dynamic effects in their scenes, from basic movements to complex physics simulations.

Read More

PictoBlox Blocks

This button allows to add a sound from library to the list.
After execution, the sprite moves on the stage and does not draw lines.
After connection is established, moves the quarky a specified number of step backward.
Shows a specified text on the LED display of the quarky.
Analyzes and process images captured from the camera.
Analyzes and process hand detected from the camera.
Eables wizbot to follow a line using its sensors.
After connection is established, moves the wizbot a specified number of step forward.
This block switches the state of the wizbot to Draw mode.
This block makes the robot move forward and reverse for a set time, collecting IR sensor data on both white and black lines.
The block sets the cursor at the specified coordinate in the TFT Display of evive. Origin (0,0) is at the top left corner of the screen. Positive X-direction is to right while positive Y-direction is downward. Once the cursor has moved to the specified coordinate, you can write text using that point as the reference.
The block check takes the slide switch number (1 or 2) and state to be checked for (Up or Down) as input and returns “True” if the slide switch is in the specified state and “False” if it is not in the specified state.
The block returns a number received from the terminal module of the Dabble app.
The block free or locks the motor connected to the selected slot from evive, Arduino Uno, Mega & Nano.
The block reports the analog reading from analog sensor varying between 0 to 1023, connected to the selected analog pin.
This block should be included every time you work with the robotic arm as this block calibrates the angles of the servo motors and saves it in the memory of evive.
This block defines the PWM pins to which all the four servos of arms (2 servos of shoulders + 2 servos of hands) are connected.
The blocks turn their sprite the specified amount of degrees counter-clockwise. This changes the direction the sprite is facing.
The block gives its sprite a thought bubble with the specified text, which stays for the specified amount of seconds.
The block will stop any sounds currently being played on all sprites and the Stage. Pressing the Stop button will also stop all sounds, but is rarely used as it also stops all the other scripts running in the project.
Blocks held inside this block will be in a loop — just like the Repeat () block and the Repeat Until () block, except that the loop never ends (unless the stop sign is clicked, the Stop All block is activated, or the stop script block is activated within the loop). Due to this infinite loop, the block has no bump at the bottom; having a bump would be pointless, as the blocks below it would never be activated.
Scripts that wear this block will be triggered once the specified backdrop has been switched to on the Stage.
The block checks whether a color on its sprite is touching another color. If it is, the block returns “true”.
This block is used to set the threshold for the confidence (accuracy) of object detection, 0 being low confidence and 1 being high confidence. With the threshold value, you can set the level of confidence required for object detection.
The block checks if the first value is greater than the other value. If the second value is less, the block returns true; if not, it returns false.
The block shows the specified variable’s Stage monitor.
This block is used to analyze the image received as input from the camera or the stage, for human pose detection.
The recognize () in image from () block extracts the image from Stage, Costume, or Backdrop in PictoBlox, analyzes it, and saves information in PictoBlox.
This block is used to set the threshold for the confidence (accuracy) of face detection, 0 being low confidence and 1 being high confidence. With the threshold value, you can set the level of confidence required for face detection.
All articles loaded
No more articles to load
Table of Contents