Register    Login    Forum    FAQ    PinSimDB.org

Board index » Future Pinball » BAM corner




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Wed Feb 08, 2017 7:20 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
franzleo wrote:
It all works wonderfully, but there is a small problem.
If the ball stays a long time in the magnet, it is implanted in the PF.
To have a little more strength in the magnet , I set :

MagneticField_Light.Strength = 30-50

Look at the photo
Greetings

Gianfranco

Well... this is just physics engine error.
I have idea how to prevent this, but i need few days.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Thu Feb 09, 2017 5:33 pm 
Offline

Joined: Thu Nov 24, 2016 7:46 pm
Posts: 156
This is fantastic stuff! Thank you Rafal and Bob!!

Not sure, if this is important for this table. But Theatre of Magic has a big magnet. This one should be producible now.


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Fri Feb 10, 2017 10:09 pm 
Offline
User avatar

Joined: Sun May 08, 2011 4:57 pm
Posts: 1071
Location: Turin-ITALY
ravarcade wrote:
......I have idea how to prevent this, but i need few days......


Thank you for taking the time to FP

Gianfranco


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Sun Feb 12, 2017 10:23 am 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
franzleo wrote:
It all works wonderfully, but there is a small problem.
If the ball stays a long time in the magnet, it is implanted in the PF.
To have a little more strength in the magnet , I set :

MagneticField_Light.Strength = 30-50

Look at the photo
Greetings

Gianfranco

Today update of beta/BAM.dll.
I added Horizontal property. To prevent pushing ball inside playfield after magnetic-field creation add:
Code:
MagneticField_L.Horizontal = true

This Horizontal property can be read or set any time in code but is not visible in BAM-menu.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Mon Feb 13, 2017 3:08 pm 
Offline
User avatar

Joined: Sun May 08, 2011 4:57 pm
Posts: 1071
Location: Turin-ITALY
ravarcade wrote:
.........Today update of beta/BAM.dll.........


Unfortunately with the new change there is another problem.
When the ball is captured by the magnet, it begins to vibrate faster and stops after a long time. This might be fine, but the vibration with splitting of the ball is too annoying.
Greetings

Gianfranco


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Mon Feb 13, 2017 6:25 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
franzleo wrote:
... the vibration with splitting of the ball is too annoying...

Roger. I will try to find another solution.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Tue Feb 14, 2017 11:02 am 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2818
Location: Ontario, Canada
can you have the ball hover imperceptibly above playing field so it doesn't imbed ?


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Wed Feb 15, 2017 2:55 am 
Offline

Joined: Fri Jun 28, 2013 4:46 pm
Posts: 348
finally true magnet in FP!

well done ravarcade!


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Thu Feb 16, 2017 6:20 pm 
Offline

Joined: Mon Mar 25, 2013 4:02 pm
Posts: 1001
Gimli wrote:
can you have the ball hover imperceptibly above playing field so it doesn't imbed ?

I tried. It breaks physics. Ball from time to time fall under playfield. It is too much interference in the physics simulation.

franzleo wrote:
ravarcade wrote:
...
When the ball is captured by the magnet, it begins to vibrate faster and stops after a long time...


Try this update:
http://www.ravarcade.pl/beta/BAM.dll
Now:
- don't use Horizontal param (or set it to false)
- instead set MaxForce. This will limit maximum force used to push ball to playfield.
You can also set it in BAM menu.
Code:
MagneticField_0.MaxForce = 10

If you set it to small value, like 0.1 it will work like Horizontal = true.
If you set it to big value, like 1000 it will work like first version of magnet_field.
... and you can set it to any value between 0 and 1000. Maybe this way you will get better results.

_________________
http://www.ravarcade.pl
Better Arcade Mode
current BAM version: v1.4-267, released: Nov 9, 2019


Top 
 Profile  
 
 Post subject: Re: Magnetic fields in BAM
 Post Posted: Fri Feb 17, 2017 2:48 pm 
Offline
User avatar

Joined: Sun May 08, 2011 4:57 pm
Posts: 1071
Location: Turin-ITALY
ravarcade wrote:
...........Try this update.........


The ball is still vibrates (doubling) and gave too much bother to look at her.
I found a good compromise with these two values:
Strength = 10
MAXFORCE = 30
They can grow to 20 and 50
It depends on the force that we want to use. Now you will experience in the table on which I am working (Dragon's Keep). I'll let you know the news.
Greetings and thanks

Gianfranco


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next

Board index » Future Pinball » BAM corner


Who is online

Users browsing this forum: No registered users and 6 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: