Skip to content

Teleporter and Ball Roller#336

Merged
freezy merged 25 commits into
masterfrom
feature/coil-components
Oct 26, 2021
Merged

Teleporter and Ball Roller#336
freezy merged 25 commits into
masterfrom
feature/coil-components

Conversation

@freezy
Copy link
Copy Markdown
Owner

@freezy freezy commented Oct 25, 2021

This PR adds a new teleporter component, and to easily test it, a debug ball roller component.

Ball Roller

You need to add it to the root component of the table. Then, the middle mouse button controls the ball.

ball-roller.mp4

Teleporter

The teleporter teleports a ball from kicker A into kicker B. It's triggered with coil, so you can easily hook it up to the gamelogic engine. Documentation here.

teleporter.mp4

Other Changes

  • Fixed a UI bug in the object picker when indented.
  • Coil- and switch devices can now have 0...n coils/devices, and when there are none, the device is not shown in the picker and already selected elements show an error.
  • Fixed angle of kicker gizmo, which was pointing into the wrong direction.
  • Add camera orbit script to repo
  • Fixed bug where only references to surfaces and not ramps would be honored during import.

TODO

  • Add double-click feature to ball roller
  • Restrict ball roller to table dimensions
  • Document ball roller somewhere

@freezy freezy self-assigned this Oct 25, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 25, 2021

Codecov Report

Merging #336 (eb86f43) into master (bde3d72) will not change coverage.
The diff coverage is n/a.

❗ Current head eb86f43 differs from pull request most recent head f2453fd. Consider uploading reports for the commit f2453fd to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   83.43%   83.43%           
=======================================
  Files         125      125           
  Lines        6736     6736           
=======================================
  Hits         5620     5620           
  Misses       1116     1116           
Impacted Files Coverage Δ
VisualPinball.Engine/VPT/Light/Light.cs 58.82% <0.00%> (ø)
...Pinball.Engine/VPT/Flipper/FlipperMeshGenerator.cs 98.09% <0.00%> (ø)
...Pinball.Engine/VPT/Surface/SurfaceMeshGenerator.cs 95.45% <0.00%> (ø)
...all.Engine/VPT/Primitive/PrimitiveMeshGenerator.cs 97.56% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bde3d72...f2453fd. Read the comment docs.

@freezy freezy force-pushed the feature/coil-components branch from eb86f43 to b06e175 Compare October 26, 2021 21:11
@freezy freezy merged commit 612df80 into master Oct 26, 2021
@freezy freezy deleted the feature/coil-components branch October 26, 2021 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants